We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ed22ef commit 27556e7Copy full SHA for 27556e7
1 file changed
source/gx/terminix/application.d
@@ -464,6 +464,7 @@ private:
464
if (appWindow !is null) return appWindow;
465
466
ListG list = getWindows();
467
+ if (list is null) return null;
468
Window[] windows = list.toArray!(Window)();
469
foreach(window; windows) {
470
appWindow = cast(AppWindow) window;
0 commit comments