From 19e1c862a1d21b0378727e1752ad3793e50f55c5 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 22 Dec 2024 13:01:50 -0800 Subject: [PATCH] Fix another typo --- backends/ui/haiku/prefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/ui/haiku/prefs.cpp b/backends/ui/haiku/prefs.cpp index 0181264..aba307f 100644 --- a/backends/ui/haiku/prefs.cpp +++ b/backends/ui/haiku/prefs.cpp @@ -167,7 +167,7 @@ void HaikuPrefsWindow::MessageReceived(BMessage *msg) { } cat_btns[cat_id].SetValue(B_CONTROL_OFF); cat_id = get_option("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("ui.enable_cat", false); cat_enable->SetValue(enable_cat ? B_CONTROL_ON : B_CONTROL_OFF); update_label_setting();