Commit dd2b6513 authored by Damien Naudet's avatar Damien Naudet

Fixed bug when closing views.

parent f20f801d
......@@ -119,13 +119,13 @@ class XsocsGui(Qt.QMainWindow):
views = self.__qspaceViews
if views:
for view in views:
for view in views.values():
view.close()
view.deleteLater()
views = self.__fitViews
if views:
for view in views:
for view in views.values():
view.close()
view.deleteLater()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment