Fix T92988: keymap item expanding incorrectly
"show_expanded" did not dirty the keymap diff cache, leading to old flags being written to the item when another item was edited. Differential Revision: https://developer.blender.org/D13418
This commit is contained in:
parent
1beaec46b8
commit
1c7c1480d1
Notes:
blender-bot
2023-02-14 07:16:28 +01:00
Referenced by issue #92988, Weird collapsing behaviour in Keymap window Referenced by issue #50539, KeyMapItem collapses everything in it when changing a property of a ModalMap
|
@ -2804,6 +2804,7 @@ static void rna_def_keyconfig(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(
|
||||
prop, "Expanded", "Show key map event and property details in the user interface");
|
||||
RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1);
|
||||
RNA_def_property_update(prop, 0, "rna_KeyMapItem_update");
|
||||
|
||||
prop = RNA_def_property(srna, "propvalue", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "propvalue");
|
||||
|
|
Loading…
Reference in New Issue