3435: Deleting Locked Database from Dialog causes database change

svn: r18728
This commit is contained in:
Michiel Nauta 2012-01-09 18:06:11 +00:00
parent ef298ffaec
commit cc7b4fb56d

View File

@ -550,7 +550,7 @@ class DbManager(CLIDbManager):
# close the database if the user has requested to delete the
# active database
if self.data_to_delete[OPEN_COL]:
if self.data_to_delete[PATH_COL] == self.active:
self.dbstate.no_database()
store, node = self.selection.get_selected()