git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59097 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -1893,7 +1893,7 @@ class CmdPanel(wx.Panel):
win = self.FindWindowById(p['wxId'][0])
if text:
filename = win.GetValue()
- if not filename:
+ if not filename or filename == p['default']: # m.proj has - as default
filename = grass.tempfile()
win.SetValue(filename)