Fixed Window.NewChild returning the parent (oops)
This commit is contained in:
parent
5657f85c83
commit
52a0136e60
@ -262,7 +262,7 @@ func (this *window) NewChild (bounds image.Rectangle) (tomo.Window, error) {
|
||||
leader.xWindow.Id)
|
||||
child.setType("UTILITY")
|
||||
// child.inheritProperties(leader.window)
|
||||
return this, err
|
||||
return child, err
|
||||
}
|
||||
|
||||
func (this *window) Widget () (tomo.Window, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user