浏览代码

wxGUI/iclass: fix panes order on Linux

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49833 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
4f7b16da6e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/iclass/frame.py

+ 2 - 2
gui/wxpython/iclass/frame.py

@@ -291,10 +291,10 @@ class IClassMapFrame(DoubleMapFrame):
             self._addPaneMapWindow(name = 'preview')
             self._addPaneMapWindow(name = 'preview')
             self._addPaneToolbar(name = 'iClassPreviewMapManager')
             self._addPaneToolbar(name = 'iClassPreviewMapManager')
         else:
         else:
-            self._addPaneMapWindow(name = 'preview')
             self._addPaneToolbar(name = 'iClassPreviewMapManager')
             self._addPaneToolbar(name = 'iClassPreviewMapManager')
-            self._addPaneMapWindow(name = 'training')
+            self._addPaneMapWindow(name = 'preview')
             self._addPaneToolbar(name = 'iClassTrainingMapManager')
             self._addPaneToolbar(name = 'iClassTrainingMapManager')
+            self._addPaneMapWindow(name = 'training')
         
         
         self._mgr.AddPane(self.plotPanel, wx.aui.AuiPaneInfo().
         self._mgr.AddPane(self.plotPanel, wx.aui.AuiPaneInfo().
                   Name("plots").Caption(_("Plots")).
                   Name("plots").Caption(_("Plots")).