issues
search
mono
/
xwt
A cross-platform UI toolkit for creating desktop applications with .NET and Mono
MIT License
1.37k
stars
241
forks
source link
[WindowFrameBackend] Only add parenting when dialog is preparing it be shown
#1100
Closed
netonjm
closed
2 years ago
netonjm
commented
2 years ago
This PR fixes some issues in WindowFrameBackend:
NRE whe transientFor is null (we added to cover this scenario)
SetTransientFor tries to set the window passed as a parameter in the funcion and in case is not the current one it sets the value.
Simplifies InternalShow() now takes the parent window and if is Visible and not contains the Window it adds as a children.
This PR fixes some issues in WindowFrameBackend: