|
@@ -1893,7 +1893,7 @@ class CmdPanel(wx.Panel):
|
|
win = self.FindWindowById(p['wxId'][0])
|
|
win = self.FindWindowById(p['wxId'][0])
|
|
if text:
|
|
if text:
|
|
filename = win.GetValue()
|
|
filename = win.GetValue()
|
|
- if not filename:
|
|
|
|
|
|
+ if not filename or filename == p['default']: # m.proj has - as default
|
|
filename = grass.tempfile()
|
|
filename = grass.tempfile()
|
|
win.SetValue(filename)
|
|
win.SetValue(filename)
|
|
|
|
|