Hide setup screen if disabled

smart-pointers
Phil Taylor 2023-02-10 00:31:12 +00:00
rodzic cad3bb9418
commit 4e61a455b5
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -9122,6 +9122,13 @@ void wfmain::on_enableUsbChk_clicked(bool checked)
emit sendUsbControllerButtons(&usbButtons);
emit sendUsbControllerKnobs(&usbKnobs);
}
else {
if (shut != Q_NULLPTR) {
if (shut->isVisible()) {
shut->hide();
}
}
}
#endif
}