Fixed: Closed views appeared after restart if they were only views in that notebook
@@ -1122,7 +1122,7 @@ class Workbench(tk.Tk):
def _open_views(self):
for nb_name in self._view_notebooks:
view_name = self.get_option("layout.notebook_" + nb_name + "_visible_view")
- if view_name != None:
+ if view_name != None and self.get_option("view." + view_name + ".visible", False):
self.show_view(view_name)
