Quellcode durchsuchen

wxgui: updating toolbars.py and mapdisp.py calls to new profile and histogramming tools.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48584 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton vor 13 Jahren
Ursprung
Commit
e60a9e712b
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      gui/wxpython/gui_modules/mapdisp.py
  2. 2 2
      gui/wxpython/gui_modules/toolbars.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp.py

@@ -1645,7 +1645,7 @@ class MapFrame(wx.Frame):
                 self.tree.GetPyData(self.tree.layer_selected)[0]['type'] == 'raster':
             raster.append(self.tree.GetPyData(self.tree.layer_selected)[0]['maplayer'].name)
 
-        self.profile = wxplot.ProfileFrame(self,
+        self.profile = ProfileFrame(self,
                                             id = wx.ID_ANY, pos = wx.DefaultPosition, size = (700,300),
                                             style = wx.DEFAULT_FRAME_STYLE, 
                                             rasterList = raster)

+ 2 - 2
gui/wxpython/gui_modules/toolbars.py

@@ -1281,7 +1281,7 @@ class ProfileToolbar(AbstractToolbar):
                                       self.parent.PrintMenu),
                                      (None, ),
                                      ('settings', icons["options"],
-                                      self.parent.ProfileOptionsMenu),
+                                      self.parent.PlotOptionsMenu),
                                      ('quit', icons["quit"],
                                       self.parent.OnQuit),
                                      ))
@@ -1450,7 +1450,7 @@ class Histogram2Toolbar(AbstractToolbar):
                                       self.parent.PrintMenu),
                                      (None, ),
                                      ('settings', icons["options"],
-                                      self.parent.HistOptionsMenu),
+                                      self.parent.PlotOptionsMenu),
                                      ('quit', icons["quit"],
                                       self.parent.OnQuit),
                                      ))