@@ -980,9 +980,7 @@ FocusScope {
980 _constructing = false;
980 _constructing = false;
982 Component.onDestruction: {
982 Component.onDestruction: {
983− if (root.mode == "windowed") {
984− windowStateSaver.save();
983+ windowStateSaver.save();
987 if (!root.parent) {
985 if (!root.parent) {
988 // This stage is about to be destroyed. Don't mess up with the model at this point
986 // This stage is about to be destroyed. Don't mess up with the model at this point