diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-13 12:57:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-13 12:57:12 +0900 |
commit | 658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b (patch) | |
tree | d5e97ff83fa1f6aa60b757c7040c50ac0b3d87d1 /src/UiGuiSettings.cpp | |
parent | 64dc8cad728f6680166df0aa7b6ba797e1aa0c2b (diff) | |
download | universal-indent-gui-tqt-658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b.tar.gz universal-indent-gui-tqt-658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b.zip |
Initialize TQScintilla's editor. TabWidth settings is now saved and restored across executions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/UiGuiSettings.cpp')
-rw-r--r-- | src/UiGuiSettings.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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()); |