Qt ui: show open panel on startup (#20859)

* should work

* spaces
old-commit-hash: 95e8c75ebd
commatwo_master
grekiki 4 years ago committed by GitHub
parent cd50782410
commit d05c5df569
  1. 1
      selfdrive/ui/qt/offroad/settings.cc

@ -309,6 +309,7 @@ void SettingsWindow::showEvent(QShowEvent *event) {
for (auto &[name, panel] : panels) {
QPushButton *btn = new QPushButton(name);
btn->setCheckable(true);
btn->setChecked(nav_btns->buttons().size() == 0);
btn->setStyleSheet(R"(
QPushButton {
color: grey;

Loading…
Cancel
Save