Skip to content

Commit

Permalink
wxGUI/iclass: fix closing scatter plot pane via x button (OSGeo#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi authored and neteler committed Nov 7, 2023
1 parent 5e9c327 commit 3a2b4d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
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

0 comments on commit 3a2b4d0

Please sign in to comment.