X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetSwitch.cpp;h=31deb0e986bdc96d06893fa2c4cca5908456ac79;hb=0cea3be102af7247b2fe2c8035a1bb38b7bf82ae;hp=8cd931574f11f63c76ce57bfc12a96b68f64d3f2;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp index 8cd931574..31deb0e98 100644 --- a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp @@ -47,7 +47,7 @@ int ModuleBase_WidgetSwitch::addPage(ModuleBase_PageBase* thePage, const QString int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId); myCombo->addItem(theName); int aResultCount = myCombo->count(); - if (aResultCount == 1) + if (aResultCount == 2) myCombo->show(); QFrame* aFrame = dynamic_cast(thePage); aFrame->setFrameShape(QFrame::Box);