mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
do not reset to default bindings if not needed...
This commit is contained in:
@@ -12689,7 +12689,11 @@ rd_frame(void)
|
|||||||
//- rjf: if config did not define any keybindings for the user, then we need to build a sensible default
|
//- rjf: if config did not define any keybindings for the user, then we need to build a sensible default
|
||||||
if(file_is_okay && kind == RD_CmdKind_OpenUser)
|
if(file_is_okay && kind == RD_CmdKind_OpenUser)
|
||||||
{
|
{
|
||||||
rd_cmd(RD_CmdKind_ResetToDefaultBindings);
|
RD_CfgList all_keybindings = rd_cfg_child_list_from_string(scratch.arena, file_root, str8_lit("keybindings"));
|
||||||
|
if(all_keybindings.count == 0)
|
||||||
|
{
|
||||||
|
rd_cmd(RD_CmdKind_ResetToDefaultBindings);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//- rjf: record recently-opened projects in the user
|
//- rjf: record recently-opened projects in the user
|
||||||
|
|||||||
Reference in New Issue
Block a user