5676: Crashed when verifying data
svn: r19450
This commit is contained in:
parent
5f41d0f882
commit
0a2acf41bf
@ -298,6 +298,10 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
|
|||||||
GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
|
GrampsDisplay.help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
|
||||||
|
|
||||||
def on_apply_clicked(self, obj):
|
def on_apply_clicked(self, obj):
|
||||||
|
run_button = self.top.get_object('button4')
|
||||||
|
close_button = self.top.get_object('button5')
|
||||||
|
run_button.set_sensitive(False)
|
||||||
|
close_button.set_sensitive(False)
|
||||||
for option in self.options.handler.options_dict:
|
for option in self.options.handler.options_dict:
|
||||||
if option in ['estimate_age', 'invdate']:
|
if option in ['estimate_age', 'invdate']:
|
||||||
self.options.handler.options_dict[option] = \
|
self.options.handler.options_dict[option] = \
|
||||||
@ -325,11 +329,13 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
|
|||||||
|
|
||||||
self.uistate.progress.hide()
|
self.uistate.progress.hide()
|
||||||
self.uistate.window.window.set_cursor(None)
|
self.uistate.window.window.set_cursor(None)
|
||||||
self.window.window.set_cursor(None)
|
|
||||||
try:
|
try:
|
||||||
|
self.window.window.set_cursor(None)
|
||||||
self.vr.window.window.set_cursor(None)
|
self.vr.window.window.set_cursor(None)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
run_button.set_sensitive(True)
|
||||||
|
close_button.set_sensitive(True)
|
||||||
self.reset()
|
self.reset()
|
||||||
|
|
||||||
# Save options
|
# Save options
|
||||||
|
Loading…
Reference in New Issue
Block a user