return;
ModuleBase_ModelWidget* aFilledWgt = 0;
- if (myPropertyPanel && !myPreSelection.empty()) {
+ if (myPropertyPanel) {
const QList<ModuleBase_ModelWidget*>& aWidgets = myPropertyPanel->modelWidgets();
if (!aWidgets.empty()) {
ModuleBase_ModelWidget* aWgt = 0;
if (aFilledWgt)
emit activatedByPreselection();
}
+ // 4. activate the next obligatory widget
+ myPropertyPanel->activateNextWidget(aFilledWgt);
}
- // 4. activate the next obligatory widget
- myPropertyPanel->activateNextWidget(aFilledWgt);
clearPreselection();
}