@@ -1874,7 +1874,7 @@ Rectangle {
1875 // Popup must be gone now
1875 // Popup must be gone now
1876 popup = findChild(root, "modeSwitchWarningDialog");
1876 popup = findChild(root, "modeSwitchWarningDialog");
1877− compare(popup !== null, true);
1877+ compare(popup === null, true);
1879 if (data.replug) {
1879 if (data.replug) {
1880 // Libreoffice must still be running
1880 // Libreoffice must still be running