From 658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 13 Apr 2023 12:57:12 +0900 Subject: Initialize TQScintilla's editor. TabWidth settings is now saved and restored across executions Signed-off-by: Michele Calgaro --- src/UiGuiSettings.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/UiGuiSettings.cpp') diff --git a/src/UiGuiSettings.cpp b/src/UiGuiSettings.cpp index b19de88..0f4ae72 100644 --- a/src/UiGuiSettings.cpp +++ b/src/UiGuiSettings.cpp @@ -341,7 +341,6 @@ void UiGuiSettings::handleValueChangeFromExtern(bool value) // Set the value of the setting to the objects value. setValueByName(settingName, value); - tqWarning("MIKE set="+settingName); } } } @@ -361,6 +360,10 @@ void UiGuiSettings::emitSignalForSetting(TQString settingName) { emit whiteSpaceIsVisible(m_settings[settingName].toBool()); } + else if (settingName == "TabWidth") + { + emit tabWidth(m_settings[settingName].toInt()); + } else if (settingName == "Language") { emit language(m_settings[settingName].toInt()); -- cgit v1.2.1