Fix exception when cancelling out of a db upgrade in GUI (#1154)
Fixes #12063
This commit is contained in:
parent
670bb355cb
commit
455628d44a
@ -993,6 +993,7 @@ class ViewManager(CLIManager):
|
||||
The method called after load of a new database.
|
||||
Inherit CLI method to add GUI part
|
||||
"""
|
||||
if self.dbstate.db.is_open():
|
||||
self._post_load_newdb_nongui(filename, title)
|
||||
self._post_load_newdb_gui(filename, filetype, title)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user