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