When you close a detached gramplet, need to set active to the same as its viewpage
svn: r14171
This commit is contained in:
parent
27c20ccaeb
commit
4aea0543b2
@ -288,6 +288,7 @@ class GrampletWindow(ManagedWindow.ManagedWindow):
|
||||
column = viewpage.columns[col]
|
||||
parent = self.gramplet.viewpage.get_column_frame(self.gramplet.column)
|
||||
self.gramplet.mainframe.reparent(parent)
|
||||
self.gramplet.pui.active = self.gramplet.viewpage.active
|
||||
for gframe in stack:
|
||||
gramplet = viewpage.frame_map[str(gframe)]
|
||||
expand = gramplet.state == "maximized" and gramplet.expand
|
||||
|
Loading…
Reference in New Issue
Block a user