From 2d8c56dc6bcdf989499c055449594f4a6c6decff Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 9 Jan 2012 18:05:25 +0000 Subject: [PATCH] 3435: Deleting Locked Database from Dialog causes database change svn: r18727 --- src/gui/dbman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/dbman.py b/src/gui/dbman.py index 718564d8b..10c133ef0 100644 --- a/src/gui/dbman.py +++ b/src/gui/dbman.py @@ -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()