fix settings buttons not disabling if started with ignition on

old-commit-hash: 1c952e75b58b1733742644a3d77bf57cc7d1818f
This commit is contained in:
Adeeb Shihadeh
2021-06-08 00:15:40 -07:00
parent 77867519a5
commit 585d98a464
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -318,6 +318,9 @@ void SettingsWindow::showEvent(QShowEvent *event) {
nav_btns->buttons()[0]->setChecked(true);
return;
}
}
SettingsWindow::SettingsWindow(QWidget *parent) : QFrame(parent) {
// setup two main layouts
QVBoxLayout *sidebar_layout = new QVBoxLayout();
+1 -1
View File
@@ -52,7 +52,7 @@ class SettingsWindow : public QFrame {
Q_OBJECT
public:
explicit SettingsWindow(QWidget *parent = 0) : QFrame(parent) {};
explicit SettingsWindow(QWidget *parent = 0);
protected:
void hideEvent(QHideEvent *event) override;