Fix FTM for delete tree, followed by close; Title etc. shows old tree (#587)

Fixes #10513
This commit is contained in:
Paul Culley 2018-03-26 21:43:56 -05:00 committed by Sam Manzi
parent ca9df38b11
commit 353fc50770

View File

@ -710,7 +710,7 @@ class DbManager(CLIDbManager, ManagedWindow):
# close the database if the user has requested to delete the
# active database
if self.data_to_delete[PATH_COL] == self.active:
self.dbstate.no_database()
self.uistate.viewmanager.close_database()
store, node = self.selection.get_selected()
path = store.get_path(node)