From 5773adb42c257e269dfb083bba8c797c6a3db40a Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 8 Nov 2015 21:16:44 -0600 Subject: 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. --- quacker/settings.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'quacker/settings.cpp') 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; -- cgit v1.2.3