From fdada9fe16337e21f98f8283beee40875f9bc3cc Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 26 Apr 2006 02:14:37 +0000 Subject: [PATCH] * src/ViewManager.py: new config changes, handle exception svn: r6442 --- gramps2/ChangeLog | 2 +- gramps2/src/ViewManager.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7d5035d14..3b13d1e36 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,5 +1,5 @@ 2006-04-25 Don Allingham - * src/ViewManager.py: new config changes + * src/ViewManager.py: new config changes, handle exception * src/GrampsCfg.py: new config changes * src/Config/gen_schema_keys.py: new config changes * src/gramps_main.py: new config changes diff --git a/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index fbe80b415..3f02ce735 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/src/ViewManager.py @@ -424,7 +424,10 @@ class ViewManager: GrampsDisplay.url( const.url_mailinglist) def preferences_activate(self, obj): - GrampsCfg.GrampsPreferences(self.uistate) + try: + GrampsCfg.GrampsPreferences(self.uistate) + except Errors.WindowActiveError: + pass def report_bug_activate(self, obj): import GrampsDisplay