Skip to content

Commit

Permalink
Refresh target widget when user config is applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
kareltucek committed Jan 10, 2025
1 parent f511201 commit f6648bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions right/src/config_parser/parse_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
#include "versioning.h"
#include "stubs.h"

#if DEVICE_HAS_OLED
#include "keyboard/oled/widgets/widgets.h"
#endif

version_t DataModelVersion = {0, 0, 0};

bool PerKeyRgbPresent = false;
Expand Down Expand Up @@ -336,6 +340,7 @@ parser_error_t parseConfig(config_buffer_t *buffer)
LedManager_UpdateSleepModes();
BtPair_ClearUnknownBonds();
BtConn_UpdateHostConnectionPeerAllocations();
WIDGET_REFRESH(&TargetWidget); // the target may have been renamed

// Update counts

Expand Down

0 comments on commit f6648bd

Please sign in to comment.