diff options
author | John Fultz <jfultz@wolfram.com> | 2015-11-08 21:16:44 -0600 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-11-08 21:36:51 -0600 |
commit | 5773adb42c257e269dfb083bba8c797c6a3db40a (patch) | |
tree | 99869aece576db171e23c50408c1bdb5081852c7 /quacker/settings.cpp | |
parent | a32891e1408cbfc526af5497c96b0092a4b8d0fd (diff) |
Fix #8, last choice in theme and alphabet combox didn't work.
I had reserved the last spot for "Add new theme/alphabet", but
then abandoned that feature for v1. But forgot to rip out the
code handling it.
Bump version number to 1.0.1.
Diffstat (limited to 'quacker/settings.cpp')
-rw-r--r-- | quacker/settings.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/quacker/settings.cpp b/quacker/settings.cpp index 6cbcb74..6e80afe 100644 --- a/quacker/settings.cpp +++ b/quacker/settings.cpp @@ -440,11 +440,12 @@ void Settings::lexiconChanged(const QString &lexiconName) void Settings::alphabetChanged(const QString &alphabetName) { - if (m_alphabetNameCombo->currentIndex() == m_alphabetNameCombo->count() - 1) - { - editAlphabet(); - return; - } + // Uncomment when we support an add/edit alphabet dialog + // if (m_alphabetNameCombo->currentIndex() == m_alphabetNameCombo->count() - 1) + // { + // editAlphabet(); + // return; + // } setQuackleToUseAlphabetName(alphabetName); CustomQSettings settings; @@ -455,11 +456,12 @@ void Settings::alphabetChanged(const QString &alphabetName) void Settings::themeChanged(const QString &themeName) { - if (m_themeNameCombo->currentIndex() == m_themeNameCombo->count() - 1) - { - editTheme(); - return; - } + // Uncomment when we support an add/edit theme dialog + // if (m_themeNameCombo->currentIndex() == m_themeNameCombo->count() - 1) + // { + // editTheme(); + // return; + // } setQuackleToUseThemeName(themeName); CustomQSettings settings; |