From 65dff8dcf701f27f4cb0a56d14bc92e70d141063 Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Thu, 28 Feb 2019 21:41:59 -0500 Subject: [PATCH] Scroll the window back to 0, 0 when children are removed (#1843) --- gui/builtinShipBrowser/pfListPane.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/builtinShipBrowser/pfListPane.py b/gui/builtinShipBrowser/pfListPane.py index cbdebff05..60a303b3a 100644 --- a/gui/builtinShipBrowser/pfListPane.py +++ b/gui/builtinShipBrowser/pfListPane.py @@ -158,4 +158,5 @@ class PFListPane(wx.ScrolledWindow): for widget in self._wList: widget.Destroy() + self.Scroll(0, 0) self._wList = []