summaryrefslogtreecommitdiffstats
path: root/src/library/library.cpp
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2018-10-20 14:37:04 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2018-11-14 22:48:45 +0100
commit145b040714c7e903b506ffbbbfbe171b58900cf8 (patch)
tree44af3bcd0978fa11029aa23955545eb6fdb59cc0 /src/library/library.cpp
parent42a8b9d74dafcd4235f8c7bb1fceddde9ec43758 (diff)
Save and restore vscroll position when clearing the search
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r--src/library/library.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp
index b953ad106f..22b00d7413 100644
--- a/src/library/library.cpp
+++ b/src/library/library.cpp
@@ -36,6 +36,7 @@
#include "widget/wtracktableview.h"
#include "widget/wlibrary.h"
#include "widget/wlibrarysidebar.h"
+#include "widget/wsearchlineedit.h"
#include "controllers/keyboard/keyboardeventfilter.h"
@@ -250,11 +251,8 @@ void Library::bindWidget(WLibrary* pLibraryWidget,
pTrackTableView, SLOT(setTrackTableRowHeight(int)));
connect(this, SIGNAL(setSelectedClick(bool)),
pTrackTableView, SLOT(setSelectedClick(bool)));
-
- connect(this, SIGNAL(searchStarting()),
- pTrackTableView, SLOT(onSearchStarting()));
- connect(this, SIGNAL(searchCleared()),
- pTrackTableView, SLOT(onSearchCleared()));
+ connect(this, SIGNAL(searchActive(bool)),
+ pTrackTableView, SLOT(onSearchActive(bool)));
m_pLibraryControl->bindWidget(pLibraryWidget, pKeyboard);