Fixed a little issue in the icon editor. 5_4_x

Sat, 08 Mar 2014 18:48:19 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 08 Mar 2014 18:48:19 +0100
branch
5_4_x
changeset 3344
5148b3afccf9
parent 3338
72142b423cad
child 3347
c90a3bb3410c

Fixed a little issue in the icon editor.

IconEditor/IconEditorWindow.py file | annotate | diff | comparison | revisions
--- a/IconEditor/IconEditorWindow.py	Thu Mar 06 18:34:59 2014 +0100
+++ b/IconEditor/IconEditorWindow.py	Sat Mar 08 18:48:19 2014 +0100
@@ -812,8 +812,9 @@
         menu.addAction(self.saveAsAct)
         menu.addSeparator()
         menu.addAction(self.closeAct)
-        menu.addAction(self.closeAllAct)
-        if not self.fromEric:
+        if self.fromEric:
+            menu.addAction(self.closeAllAct)
+        else:
             menu.addSeparator()
             menu.addAction(self.exitAct)
         

eric ide

mercurial