From 7413c3d9940aa9d7c51de93d2a07c2e5167962c9 Mon Sep 17 00:00:00 2001 From: David Salvisberg Date: Sat, 27 Dec 2014 14:40:08 +0100 Subject: [PATCH] Make button config menu save changes to disk whenever the changes are accepted. --- src/settingsmenu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/settingsmenu.cpp b/src/settingsmenu.cpp index ad3b9fd..a734ffa 100644 --- a/src/settingsmenu.cpp +++ b/src/settingsmenu.cpp @@ -678,6 +678,9 @@ struct SettingsMenuPrivate rtData.bindingUpdateMsg.post(binds); + /* Store the key bindings to disk as well to prevent config loss */ + storeBindings(binds, rtData.config); + destroyReq = true; }