瀏覽代碼

wxGUI/locwizard: remove redundant message (#1016)

* wxGUI/locwizard: remove redundant/obsolete message
Anna Petrasova 4 年之前
父節點
當前提交
8c2c33b4f5
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      gui/wxpython/location_wizard/wizard.py

+ 0 - 14
gui/wxpython/location_wizard/wizard.py

@@ -2403,9 +2403,6 @@ class LocationWizard(wx.Object):
                         'err': msg})
         else:  # -> canceled
             self.wizard.Destroy()
-            GMessage(parent=self.parent,
-                     message=_("Location wizard canceled. "
-                               "Location not created."))
 
         self.__cleanUp()
 
@@ -2556,17 +2553,6 @@ class LocationWizard(wx.Object):
                             database))
                     return None
 
-            wx.MessageBox(
-                parent=self.wizard,
-                message=_(
-                    "Location <%(loc)s> will be created "
-                    "in GIS data directory <%(dir)s>. "
-                    "You will need to change the default GIS "
-                    "data directory in the GRASS startup screen.") %
-                {'loc': location, 'dir': database},
-                caption=_("New GIS data directory"),
-                style=wx.OK | wx.ICON_INFORMATION | wx.CENTRE)
-
             # location created in alternate GISDbase
             self.altdb = True