From 73b7729530db1b5f2c5192218b1afe37a1a6a005 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sun, 18 Jul 2010 16:17:40 +0100 Subject: [PATCH] quit no longer needed now importer cache is being cleared (may need to clear auto import player cache as well?) --- pyfpdb/fpdb.pyw | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw index 8cd8b129..5c720c80 100755 --- a/pyfpdb/fpdb.pyw +++ b/pyfpdb/fpdb.pyw @@ -555,15 +555,6 @@ class fpdb: #else: # for other dbs use same connection as holds global lock # self.fdb_lock.fdb.recreate_tables() - # TODO: figure out why this seems to be necessary - dia_restart = gtk.MessageDialog(parent=self.window, flags=0, type=gtk.MESSAGE_WARNING, - buttons=(gtk.BUTTONS_OK), message_format="Restart fpdb") - diastring = "Fpdb now needs to close. Please restart it." - dia_restart.format_secondary_text(diastring) - - dia_restart.run() - dia_restart.destroy() - self.quit(None, None) elif response == gtk.RESPONSE_NO: self.release_global_lock() print 'User cancelled recreating tables'