Skip to content

Commit 00ddbb5

Browse files
committed
minor
1 parent 1cd2431 commit 00ddbb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psyplot_gui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def set_central_widget(self, name):
590590
new._set_central_action.setChecked(True)
591591
current.show_plugin()
592592
current.to_dock(self)
593-
new_width = dock_widths.pop(new)
593+
new_width = dock_widths.pop(new, None)
594594
if current.hidden:
595595
current.hide_plugin()
596596
else:

0 commit comments

Comments
 (0)