]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Temp correction
authornds <natalia.donis@opencascade.com>
Tue, 16 Dec 2014 06:30:23 +0000 (09:30 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 16 Dec 2014 06:30:23 +0000 (09:30 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index c3d200d41ae5f130f517a4802598062eafcd772e..864dad1feb4893b05392f00c754c50b7ef9a6a29 100644 (file)
@@ -199,7 +199,7 @@ void XGUI_PropertyPanel::activateNextWidget()
 void XGUI_PropertyPanel::setAcceptEnabled(bool isEnabled)
 {
   QPushButton* anOkBtn = findChild<QPushButton*>(PROP_PANEL_OK);
-  anOkBtn->setEnabled(isEnabled);
+  anOkBtn->setEnabled(true);//isEnabled);
 }
 
 void XGUI_PropertyPanel::activateWidget(ModuleBase_ModelWidget* theWidget)
@@ -225,7 +225,7 @@ void XGUI_PropertyPanel::activateWidget(ModuleBase_ModelWidget* theWidget)
 void XGUI_PropertyPanel::setOkEnabled(bool theEnabled)
 {
   QPushButton* anOkBtn = findChild<QPushButton*>(PROP_PANEL_OK);
-  anOkBtn->setEnabled(theEnabled);
+  anOkBtn->setEnabled(true);//theEnabled);
 }
 
 bool XGUI_PropertyPanel::isOkEnabled() const