fix new bug - prefs cancel button not working

This commit is contained in:
gimick 2010-06-24 23:33:43 +01:00
parent 0de6d20340
commit b4463b2e92

View File

@ -289,6 +289,8 @@ class fpdb:
dia.destroy() # destroy prefs before raising warning, otherwise parent is dia rather than self.window
self.warning_box("Updated preferences have not been loaded because "
+ "windows are open. Re-start fpdb to load them.")
else:
dia.destroy()
def dia_maintain_dbs(self, widget, data=None):
self.warning_box("Unimplemented: Maintain Databases")