git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61816 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -511,6 +511,7 @@ class GRASSStartup(wx.Frame):
If successfull sets default region from imported map.
"""
+ RunCommand('db.connect', flags='c')
mapName = os.path.splitext(os.path.basename(filePath))[0]
vectors = RunCommand('v.in.ogr', dsn = filePath, flags = 'l',
read = True)