diff options
author | John Fultz <jfultz@wolfram.com> | 2015-11-08 02:01:53 -0600 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-11-08 02:01:53 -0600 |
commit | a32891e1408cbfc526af5497c96b0092a4b8d0fd (patch) | |
tree | 6f0e612e9e7e200db82b4dda36d71d198c8fd98f /quacker/settings.cpp | |
parent | 32632761ebf834b4efdcd21c529c827bf2ab62f0 (diff) |
Minor bug fixes.
* Windows installer now set up to use MSVC redistributables, not
MinGW ones.
* The Board popup's "Edit..." button should be disabled when the
popup is empty (i.e., the only choice is to add one, which is
in the popup).
Diffstat (limited to 'quacker/settings.cpp')
-rw-r--r-- | quacker/settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quacker/settings.cpp b/quacker/settings.cpp index cd6de27..6cbcb74 100644 --- a/quacker/settings.cpp +++ b/quacker/settings.cpp @@ -555,6 +555,8 @@ void Settings::loadBoardNameCombo() m_boardNameCombo->addItem("Add new board..."); settings.endGroup(); + m_editBoard->setEnabled(!boardNames.empty()); + QString currentItem = settings.value("quackle/settings/board-name", QString("")).toString(); int currentItemIndex = m_boardNameCombo->findText(currentItem); if (m_boardNameCombo->count() > 0 && currentItemIndex < 0) |