Fixed the forgotten icon change of the new document view in new split action when the split direction is changed.

Thu, 21 Nov 2013 18:43:54 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 21 Nov 2013 18:43:54 +0100
changeset 3102
0bc989a51428
parent 3101
5213d9f28318
child 3103
451f60e70434

Fixed the forgotten icon change of the new document view in new split action when the split direction is changed.

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Thu Nov 21 18:37:41 2013 +0100
+++ b/ViewManager/ViewManager.py	Thu Nov 21 18:43:54 2013 +0100
@@ -5632,12 +5632,16 @@
                 UI.PixmapCache.getIcon("splitHorizontal.png"))
             self.splitRemoveAct.setIcon(
                 UI.PixmapCache.getIcon("remsplitHorizontal.png"))
+            self.newDocumentSplitViewAct.setIcon(
+                UI.PixmapCache.getIcon("splitHorizontal.png"))
         else:
             self.setSplitOrientation(Qt.Vertical)
             self.splitViewAct.setIcon(
                 UI.PixmapCache.getIcon("splitVertical.png"))
             self.splitRemoveAct.setIcon(
                 UI.PixmapCache.getIcon("remsplitVertical.png"))
+            self.newDocumentSplitViewAct.setIcon(
+                UI.PixmapCache.getIcon("splitVertical.png"))
     
     def __previewEditor(self, checked):
         """

eric ide

mercurial