Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI/iclass: fix closing scatter plot pane via x button #3172

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gui/wxpython/iscatt/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def ScatterPlotClosed(self, scatt_id):
del self.scatts[scatt_id]

if pane.IsOk():
pane.DestroyOnClose()
self._mgr.ClosePane(pane)
self._mgr.Update()

Expand Down
1 change: 0 additions & 1 deletion gui/wxpython/iscatt/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ def CallAfter(self, funcs_list):

def CleanUp(self):
self.plotClosed.emit(scatt_id=self.scatt_id)
self.Destroy()

def ZoomWheel(self, event):
# get the current x and y limits
Expand Down
Loading