Skip to content

Commit 167921a

Browse files
committed
don't hide sidebar
1 parent 13f0731 commit 167921a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

selfdrive/ui/qt/window.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
4545
}
4646
});
4747
QObject::connect(&device, &Device::interactiveTimout, [=]() {
48-
if(main_layout->currentWidget() != onboardingWindow) {
49-
closeSettings();
50-
}
48+
if (main_layout->currentWidget() == settingsWindow) {
49+
closeSettings();
50+
}
5151
});
5252

5353
// load fonts

0 commit comments

Comments
 (0)