diff --git a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp index a162d898b..c0f6edb7b 100644 --- a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp +++ b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp @@ -1332,11 +1332,14 @@ void SharedFilesDialog::FilterItems() std::list keywords ; std::list result_list ; - if(text.isNull()) + if(text == "") { int rowCount = ui.dirTreeView->model()->rowCount(); + for (int row = 0; row < rowCount; ++row) recursMakeAllVisible(ui.dirTreeView,ui.dirTreeView->model()->index(row, COLUMN_NAME)) ; + + setCursor(Qt::ArrowCursor); return ; } keywords.push_back(text.toStdString());