[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-bugs-dist
Subject: [Bug 260583] filter history lineedit loses history
From: Sergey Ivanov <123kash () gmail ! com>
Date: 2010-12-31 17:23:55
Message-ID: 20101231172355.F1218798B9 () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=260583
Sergey Ivanov <123kash@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Sergey Ivanov <123kash gmail com> 2010-12-31 18:23:54 ---
commit 3afdd21af910f2a0d9764c65d8ec8589f9330c94
branch master
Author: Sergey Ivanov <123kash@gmail.com>
Date: Fri Dec 31 20:23:18 2010 +0300
Make collection filter combobox store history of changes made via Filter
Editor dialog.
BUG: 260583
diff --git a/src/widgets/SearchWidget.cpp b/src/widgets/SearchWidget.cpp
index 137b7fd..d7faa91 100644
--- a/src/widgets/SearchWidget.cpp
+++ b/src/widgets/SearchWidget.cpp
@@ -141,8 +141,10 @@ SearchWidget::slotShowFilterEditor()
void
SearchWidget::slotFilterEditorFinished( int result )
{
- Q_UNUSED( result )
m_filterAction->setEnabled( true );
+
+ if( result && !m_sw->currentText().isEmpty() ) // result ==
QDialog::Accepted
+ addCompletion( m_sw->currentText() );
}
QToolBar * SearchWidget::toolBar()
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic