mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-27 09:58:08 +01:00
Arbitration: clear the filters when the rack changes, not when a search is performed
This commit is contained in:
parent
b5a473a2af
commit
c7913ddc45
2 changed files with 10 additions and 3 deletions
|
@ -436,6 +436,14 @@ void ArbitrationWidget::rackChanged()
|
|||
buttonSearch->setEnabled(acceptableInput);
|
||||
lineEditRack->setPalette(acceptableInput ? blackPalette : redPalette);
|
||||
clearResults();
|
||||
|
||||
// Clear the filters
|
||||
lineEditFilterWord->blockSignals(true);
|
||||
lineEditFilterWord->clear();
|
||||
lineEditFilterWord->blockSignals(false);
|
||||
lineEditFilterPoints->blockSignals(true);
|
||||
lineEditFilterPoints->clear();
|
||||
lineEditFilterPoints->blockSignals(false);
|
||||
}
|
||||
|
||||
|
||||
|
@ -495,8 +503,6 @@ void ArbitrationWidget::searchResults()
|
|||
{
|
||||
m_game->removeTestRound();
|
||||
emit notifyInfo(_q("Searching with rack '%1'...").arg(lineEditRack->text()));
|
||||
lineEditFilterWord->clear();
|
||||
lineEditFilterPoints->clear();
|
||||
m_results.clear();
|
||||
m_game->arbitrationSearch(m_results);
|
||||
emit notifyInfo(_q("Search done"));
|
||||
|
|
|
@ -40,7 +40,8 @@ using namespace std;
|
|||
INIT_LOGGER(qt, UpdateChecker);
|
||||
|
||||
#define SETTING_KEY "Interface/NextUpdateCheck"
|
||||
#define URL "http://www.nongnu.org/eliot/latest-version"
|
||||
//#define URL "http://www.nongnu.org/eliot/latest-version"
|
||||
#define URL "http://localhost/latest-version"
|
||||
|
||||
|
||||
UpdateChecker::UpdateChecker(QObject *parent)
|
||||
|
|
Loading…
Reference in a new issue