small fix, update keybindings after changing keysmap
This commit is contained in:
parent
d7cd7f09ba
commit
5350efab8d
@ -185,8 +185,10 @@ void KeyMapper::gui()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//apply
|
//apply
|
||||||
if(ImGui::Button("Apply changes"))
|
if(ImGui::Button("Apply changes")){
|
||||||
getEngine().getInput()->setKeysMap(m_keysmap);
|
getEngine().getInput()->setKeysMap(m_keysmap);
|
||||||
|
getEngine().getInput()->updateKeyBindings();
|
||||||
|
}
|
||||||
//save
|
//save
|
||||||
|
|
||||||
//load
|
//load
|
||||||
|
Loading…
x
Reference in New Issue
Block a user