1.9.3 - Only use led indicator if it's enabled

This commit is contained in:
dec05eba
2026-01-08 20:39:53 +01:00
parent 7f43adfbd5
commit fed47000ce
4 changed files with 25 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ namespace gsr {
void on_event(mgl::Event &event);
void recreate_global_hotkeys(const char *hotkey_option);
void update_led_indicator_after_settings_change();
void create_frontpage_ui_components();
void xi_setup();
void handle_xi_events();

View File

@@ -23,6 +23,8 @@ namespace gsr {
void load();
void save();
void on_navigate_away_from_page() override;
std::function<void()> on_config_changed;
private:
std::unique_ptr<ComboBox> create_record_area_box();
std::unique_ptr<Widget> create_record_area();