Prevent the use of a null current_window

This commit is contained in:
Corentin Noël 2018-06-03 00:46:45 +01:00 committed by Rico Tzschichholz
parent 60478f3281
commit 48d63995b9

View File

@ -333,7 +333,10 @@ namespace Gala
break;
}
}
current_window.active = false;
if (current_window != null) {
current_window.active = false;
}
} else {
current_window = null;
}