[GRASS-SVN] r70268 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 5 13:19:11 PST 2017
Author: annakrat
Date: 2017-01-05 13:19:11 -0800 (Thu, 05 Jan 2017)
New Revision: 70268
Modified:
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: allow using d.text with spaces in text as command layer
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2017-01-05 20:40:24 UTC (rev 70267)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2017-01-05 21:19:11 UTC (rev 70268)
@@ -30,6 +30,7 @@
from grass.script import core as grass
from grass.script import vector as gvector
+from grass.script import utils as gutils
from core import globalvar
from gui_core.dialogs import SqlQueryFrame, SetOpacityDialog, TextEntryDialog
@@ -1381,7 +1382,7 @@
cmd = []
if ltype == 'command' and lname:
for c in lname.split(';'):
- cmd.append(c.split(' '))
+ cmd.append(gutils.split(c))
name = None
More information about the grass-commit
mailing list