Fix another typo
Some checks failed
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / get-source-code (push) Blocked by required conditions
Build / build-deb (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-gentoo (push) Failing after 1m1s
Build / download-system-deps (push) Has been cancelled

This commit is contained in:
Zachary Hall 2024-12-22 13:01:50 -08:00
parent b13870e8e5
commit 19e1c862a1

View file

@ -167,7 +167,7 @@ void HaikuPrefsWindow::MessageReceived(BMessage *msg) {
} }
cat_btns[cat_id].SetValue(B_CONTROL_OFF); cat_btns[cat_id].SetValue(B_CONTROL_OFF);
cat_id = get_option<std::string>("ui.cat", cats.empty() ? "" : cats.begin()->first); cat_id = get_option<std::string>("ui.cat", cats.empty() ? "" : cats.begin()->first);
if (cat_btns.contains(cat_id)) cat_btns[cat_id].SetValue(B_CONTROL_ON); if (cat_btns.contains(cat_id)) cat_btns[cat_id]->SetValue(B_CONTROL_ON);
enable_cat = get_option<bool>("ui.enable_cat", false); enable_cat = get_option<bool>("ui.enable_cat", false);
cat_enable->SetValue(enable_cat ? B_CONTROL_ON : B_CONTROL_OFF); cat_enable->SetValue(enable_cat ? B_CONTROL_ON : B_CONTROL_OFF);
update_label_setting(); update_label_setting();