Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1094572
)
Fix a bug with closing of an operation by Del button press
author
vsv
<vsv@opencascade.com>
Thu, 30 Jan 2020 13:39:14 +0000
(16:39 +0300)
committer
vsv
<vsv@opencascade.com>
Thu, 30 Jan 2020 13:39:14 +0000
(16:39 +0300)
src/XGUI/XGUI_Workshop.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_Workshop.cpp
b/src/XGUI/XGUI_Workshop.cpp
index 6bd2844a7f4c76d92169859d0d74d5f0e45e19c1..dca26d8ddb556228f8357f5d55c4c7f2009f7e05 100644
(file)
--- a/
src/XGUI/XGUI_Workshop.cpp
+++ b/
src/XGUI/XGUI_Workshop.cpp
@@
-1860,6
+1860,9
@@
void XGUI_Workshop::deleteObjects()
}
QObjectPtrList anObjects = mySelector->selection()->selectedObjects();
+ if (anObjects.isEmpty())
+ return;
+
if (!abortAllOperations())
return;