Bugfix; keeping view if table size increases.
This commit is contained in:
parent
9162deabac
commit
eb203ea8ad
|
@ -282,9 +282,12 @@ class MainView (gtk.Notebook):
|
|||
## Hide all plots that will be removed from the screen.
|
||||
for x in range(self._views.xsize):
|
||||
for y in range(self._views.ysize):
|
||||
if width > x or height > y:
|
||||
if width < x or height < y:
|
||||
self._views[x, y].set_view(None)
|
||||
self._small_views.remove(self._views[x, y])
|
||||
|
||||
for x in range(self._views.xsize):
|
||||
for y in range(self._views.ysize):
|
||||
self._small_views.remove(self._views[x, y])
|
||||
|
||||
self._views.resize(width, height)
|
||||
self.update_small_views()
|
||||
|
|
Reference in New Issue