Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refresh menu size after chnges in preferences
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_PropertyPanel.cpp
diff --git
a/src/XGUI/XGUI_PropertyPanel.cpp
b/src/XGUI/XGUI_PropertyPanel.cpp
index 5b26e4e6a8f62b7937613382b6bfcceb36a598b0..b686fcebf3c80e4b8d4971e6576552afb47d14c4 100644
(file)
--- a/
src/XGUI/XGUI_PropertyPanel.cpp
+++ b/
src/XGUI/XGUI_PropertyPanel.cpp
@@
-167,3
+167,9
@@
void XGUI_PropertyPanel::onActivateNextWidget(ModuleBase_ModelWidget* theWidget)
}
emit widgetActivated(aNextWidget);
}
+
+void XGUI_PropertyPanel::setAcceptEnabled(bool isEnabled)
+{
+ QPushButton* anOkBtn = findChild<QPushButton*>(XGUI::PROP_PANEL_OK);
+ anOkBtn->setEnabled(isEnabled);
+}