Fixed an issue where some actions were initially enabled even when they should not.

Mon, 01 Jan 2018 19:24:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 01 Jan 2018 19:24:24 +0100
changeset 6053
c2d1566692d3
parent 6052
8b49d3e0b4c8
child 6055
ab7128b76524

Fixed an issue where some actions were initially enabled even when they should not.

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Mon Jan 01 19:06:33 2018 +0100
+++ b/ViewManager/ViewManager.py	Mon Jan 01 19:24:24 2018 +0100
@@ -3739,6 +3739,8 @@
         self.nextSplitAct.setEnabled(False)
         self.prevSplitAct.setEnabled(False)
         self.previewAct.setEnabled(True)
+        self.newDocumentViewAct.setEnabled(False)
+        self.newDocumentSplitViewAct.setEnabled(False)
         
         self.splitOrientationAct.setChecked(
             Preferences.getUI("SplitOrientationVertical"))

eric ide

mercurial