[GRASS-SVN] r73390 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 24 13:23:21 PDT 2018
Author: martinl
Date: 2018-09-24 13:23:21 -0700 (Mon, 24 Sep 2018)
New Revision: 73390
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
Log:
attribute table manager fails to start from new mapset, see #3658
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2018-09-24 17:57:18 UTC (rev 73389)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2018-09-24 20:23:21 UTC (rev 73390)
@@ -1083,6 +1083,10 @@
parent=self,
flags='c',
mapset=mapset)
+ # ensure that DB connection is defined
+ ret += RunCommand('db.connect',
+ parent=self,
+ flags='c')
if ret == 0:
GMessage(parent=self,
message=_("Current mapset is <%s>.") % mapset)
More information about the grass-commit
mailing list