From 2ff79baf26c8bd136d1b092390690726b6d77d19 Mon Sep 17 00:00:00 2001 From: GuillaumeBft <54895740+GuillaumeBft@users.noreply.github.com> Date: Tue, 18 Feb 2020 17:37:26 +0100 Subject: [PATCH] Add rename config option (#4233) * Add rename config option * xmlDe/Encode to deal with " character * m_config_name string -> stringw * wcslen() -> empty() , remove useless c_str() --- data/gui/screens/options_device.stkgui | 5 +++ src/input/device_config.cpp | 8 +++- src/input/device_config.hpp | 17 ++++++-- .../options/options_screen_device.cpp | 22 +++++++++- .../options/options_screen_input.cpp | 42 ++++++++++++++----- 5 files changed, 78 insertions(+), 16 deletions(-) diff --git a/data/gui/screens/options_device.stkgui b/data/gui/screens/options_device.stkgui index bf4717d81..5454e745a 100644 --- a/data/gui/screens/options_device.stkgui +++ b/data/gui/screens/options_device.stkgui @@ -53,6 +53,11 @@ + + + +