From 2294f735394538838e6c644387b7d32cb96bf517 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 22 Apr 2018 21:38:12 +0200 Subject: [PATCH] fixed search button missing due to previous commit --- retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp index 973df48b8..240839a2e 100644 --- a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp +++ b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp @@ -197,7 +197,7 @@ SharedFilesDialog::SharedFilesDialog(RetroshareDirModel *_tree_model,RetroshareD connect(ui.filterClearButton, SIGNAL(clicked()), this, SLOT(clearFilter())); connect(ui.filterStartButton, SIGNAL(clicked()), this, SLOT(startFilter())); connect(ui.filterPatternLineEdit, SIGNAL(returnPressed()), this, SLOT(startFilter())); -// connect(ui.filterPatternLineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(onFilterTextEdited())); + connect(ui.filterPatternLineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(onFilterTextEdited())); //Hidden by default, shown on onFilterTextEdited ui.filterClearButton->hide(); ui.filterStartButton->hide(); @@ -1323,7 +1323,7 @@ void SharedFilesDialog::onFilterTextEdited() ui.filterStartButton->setEnabled(true) ; ui.filterPatternFrame->setToolTip(QString()); - FilterItems(); + //FilterItems(); #ifndef DISABLE_SEARCH_WHILE_TYPING mFilterTimer->start( 500 ); // This will fire filterRegExpChanged after 500 ms. // If the user types something before it fires, the timer restarts counting