We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f0731 commit 167921aCopy full SHA for 167921a
selfdrive/ui/qt/window.cc
@@ -45,9 +45,9 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
45
}
46
});
47
QObject::connect(&device, &Device::interactiveTimout, [=]() {
48
- if(main_layout->currentWidget() != onboardingWindow) {
49
- closeSettings();
50
- }
+ if (main_layout->currentWidget() == settingsWindow) {
+ closeSettings();
+ }
51
52
53
// load fonts
0 commit comments