Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Yet another bugfix on the plot updates. View frames will now be updated from

the upper left corner, horizontally first.
This commit is contained in:
Einar Ryeng 2006-10-17 10:37:46 +00:00
parent 4b8ff16bbf
commit 42f6fd7440
1 changed files with 6 additions and 5 deletions

View File

@ -261,11 +261,12 @@ class MainView (gtk.Notebook):
vf.set_view(view)
def set_all_plots(self, plots):
for vf in self._view_frames:
for y in range(self._views.ysize):
for x in range(self._views.xsize):
if plots:
vf.set_view(plots.pop())
self._views[x, y].set_view(plots.pop())
else:
vf.set_view(None)
self._views[x, y].set_view(None)
def show(self):
for vf in self._view_frames: