summaryrefslogtreecommitdiffstats
path: root/src/library/dlganalysis.cpp
diff options
context:
space:
mode:
authorTimothy Rae <perceptualchaos2@gmail.com>2016-05-22 23:20:04 +0900
committerTimothy Rae <perceptualchaos2@gmail.com>2017-01-07 10:22:41 +0900
commit64e7dd2854d56b0beb1a0ed2bbc59140c09d96d7 (patch)
tree052125bc1d9998409a3aff24507449d3185ffeb3 /src/library/dlganalysis.cpp
parent673dff5de4c7ab194c70afbb1711eba5edb59915 (diff)
Add new control SelectItemKnob
The new SelectItemKnob control selects either the next track or the next sidebar item, depending on which widget has focus
Diffstat (limited to 'src/library/dlganalysis.cpp')
-rw-r--r--src/library/dlganalysis.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/dlganalysis.cpp b/src/library/dlganalysis.cpp
index 6d8ec9f380..56ea621766 100644
--- a/src/library/dlganalysis.cpp
+++ b/src/library/dlganalysis.cpp
@@ -72,6 +72,10 @@ void DlgAnalysis::onShow() {
m_pAnalysisLibraryTableModel->select();
}
+bool DlgAnalysis::hasFocus() const {
+ return QWidget::hasFocus();
+}
+
void DlgAnalysis::onSearch(const QString& text) {
m_pAnalysisLibraryTableModel->search(text);
}