Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Another bug fix. Double-clicking function output works, also after changing table size.

This commit is contained in:
Einar Ryeng 2006-10-17 10:32:53 +00:00
parent eb203ea8ad
commit 4b8ff16bbf
1 changed files with 2 additions and 1 deletions

View File

@ -282,8 +282,9 @@ 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 x >= width or y >= height:
self._views[x, y].set_view(None)
self._view_frames.remove(self._views[x, y])
for x in range(self._views.xsize):
for y in range(self._views.ysize):