From a32891e1408cbfc526af5497c96b0092a4b8d0fd Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sun, 8 Nov 2015 02:01:53 -0600 Subject: 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). --- quacker/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'quacker') 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) -- cgit v1.2.3