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:
-rw-r--r--Xwt/Xwt/WindowFrame.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xwt/Xwt/WindowFrame.cs b/Xwt/Xwt/WindowFrame.cs
index 890b9dc4..788fa589 100644
--- a/Xwt/Xwt/WindowFrame.cs
+++ b/Xwt/Xwt/WindowFrame.cs
@@ -260,7 +260,7 @@ namespace Xwt
get { return transientFor; }
set {
transientFor = value;
- Backend.SetTransientFor ((IWindowFrameBackend)(value as IFrontend).Backend);
+ Backend.SetTransientFor ((IWindowFrameBackend)(value as IFrontend)?.Backend);
}
}