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
Simplified calculation of fly out distance and creation of constraints limited only...
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ActionsMgr.cpp
diff --git
a/src/XGUI/XGUI_ActionsMgr.cpp
b/src/XGUI/XGUI_ActionsMgr.cpp
index 32f7e4af556fdd5b49a985298734a12de3336b92..8b6fbadd1c685e94305ef78d791405823e73c060 100644
(file)
--- a/
src/XGUI/XGUI_ActionsMgr.cpp
+++ b/
src/XGUI/XGUI_ActionsMgr.cpp
@@
-173,14
+173,6
@@
void XGUI_ActionsMgr::updateOnViewSelection()
}
}
}
}
-void XGUI_ActionsMgr::onAcceptAllToggled(bool theState)
-{
- if (!theState) {
- QAction* anAcceptAllAction = operationStateAction(XGUI_ActionsMgr::AcceptAll, NULL);
- anAcceptAllAction->setEnabled(theState);
- }
-}
-
QKeySequence XGUI_ActionsMgr::registerShortcut(const QKeySequence& theKeySequence)
{
if (theKeySequence.isEmpty()) {
QKeySequence XGUI_ActionsMgr::registerShortcut(const QKeySequence& theKeySequence)
{
if (theKeySequence.isEmpty()) {
@@
-246,9
+238,6
@@
QAction* XGUI_ActionsMgr::operationStateAction(OperationStateActionId theId, QOb
case Accept:
case AcceptAll:
aResult = new QAction(QIcon(":pictures/button_ok.png"), "", theParent);
case Accept:
case AcceptAll:
aResult = new QAction(QIcon(":pictures/button_ok.png"), "", theParent);
- // the default value is disabled, so the next connect is used to restore this
- // default state by untoggle this action
- connect(this, SIGNAL(toggled(bool)), this, SLOT(onAcceptAllToggled(bool)));
break;
case Abort:
case AbortAll: {
break;
case Abort:
case AbortAll: {