shortcuts.c don't call settings_apply_skins() unless needed

Add F_NEEDAPPLY if F_THEMESETTING requires a call to settings_apply_skins()

Change-Id: Ied1bf7b2c4fb2e07bf1f54076e647bdc0844037a
This commit is contained in:
William Wilgus 2025-03-02 16:09:17 -05:00
parent 81c65536ec
commit 914fcab06a
4 changed files with 21 additions and 20 deletions

View file

@ -158,7 +158,7 @@ struct custom_setting {
#define F_RECSETTING 0x1000000
#define F_EQSETTING 0x2000000
#define F_SOUNDSETTING 0x4000000
/*#define _AVAILABLE_ 0x8000000*/
#define F_NEEDAPPLY 0x8000000 /*F_THEMESETTING needs apply to effect setting change*/
#define F_CB_ON_SELECT_ONLY 0x10000000 /* option_callback only called if selected */
#define F_CB_ONLY_IF_CHANGED 0x20000000 /* option_callback only called if setting changed */