No, we can't center to a global parent, because the direct parent is already 
nullptr.

I am wondering whether this fix doesn't just mask the real bug - it would be 
interesting to track down why that particular window has no parent. There's 
something wrong with the control flow there.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug_1794339_center_wo_parent/+merge/355873
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bug_1794339_center_wo_parent into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to