Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Medrano <josmed@microsoft.com>2022-04-07 15:02:10 +0300
committerJose Medrano <josmed@microsoft.com>2022-04-07 15:02:10 +0300
commit037e8e226f1060a97b2d485aab4eb18e81cc6160 (patch)
tree7ba756965dcc4963e545d3333335dfd532b7f5ff
parenta2487a8cf5dd6446a78bf744b40b409cc345f03a (diff)
Removes unnecessary un-assignment
-rw-r--r--Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs b/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
index 86fc236e..d9d429a2 100644
--- a/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
+++ b/Xwt.XamMac/Xwt.Mac/WindowFrameBackend.cs
@@ -346,10 +346,6 @@ namespace Xwt.Mac
if (Window.ParentWindow != null)
Window.ParentWindow.RemoveChildWindow(Window);
- // new parent has any associed window we remove it
- if (nParent.ParentWindow != null)
- nParent.ParentWindow.RemoveChildWindow(nParent);
-
Window.ParentWindow = nParent;
TryAddChildWindowIfVisible(nParent, Window);