3435: Deleting Locked Database from Dialog causes database change

svn: r18727
This commit is contained in:
Michiel Nauta 2012-01-09 18:05:25 +00:00
parent 79a6c062c9
commit 2d8c56dc6b

View File

@ -551,7 +551,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()