| 65 | } |
| 66 | |
| 67 | void ModuleChooserUI::setModuleSelected(Module * m, bool silent) |
| 68 | { |
| 69 | if (m == nullptr) return; |
| 70 | if (m == CVGroupManager::getInstance()->module.get()) setSelectedId(1000); |
| 71 | else setSelectedId(ModuleManager::getInstance()->items.indexOf(m) + 1, silent ? dontSendNotification:sendNotification); |
| 72 | } |
| 73 | |
| 74 | void ModuleChooserUI::comboBoxChanged(ComboBox *) |
| 75 | { |
no test coverage detected