small fix, update keybindings after changing keysmap

This commit is contained in:
Lendemor 2018-01-08 13:50:42 +01:00
parent d7cd7f09ba
commit 5350efab8d

View File

@ -185,8 +185,10 @@ void KeyMapper::gui()
}
}
//apply
if(ImGui::Button("Apply changes"))
if(ImGui::Button("Apply changes")){
getEngine().getInput()->setKeysMap(m_keysmap);
getEngine().getInput()->updateKeyBindings();
}
//save
//load