Skip to content

Commit 067787f

Browse files
committed
remove dataframeeditor actions when closing
1 parent cd72eeb commit 067787f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

psyplot_gui/dataframeeditor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,8 @@ def close(self):
694694
mainwindow.removeDockWidget(self)
695695
except Exception:
696696
pass
697+
if getattr(self.widget(), '_view_action', None) is not None:
698+
mainwindow.dataframe_menu.removeAction(self.widget()._view_action)
697699
return super(DataFrameDock, self).close()
698700

699701

0 commit comments

Comments
 (0)