Merge pull request #169 from prculley/bug9459_42

bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL encoding tries to pop up gui
This commit is contained in:
Doug Blank 2016-06-02 17:38:19 -04:00
commit dc77d95274

View File

@ -89,7 +89,7 @@ def importData(database, filename, user):
gramps = True
ifile.close()
if not gramps and ansel:
if not gramps and ansel and user.uistate:
top = Glade()
code = top.get_object('codeset')
code.set_active(0)