[gnote/gnome-3-38] Fix changing sorting not always works
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-38] Fix changing sorting not always works
- Date: Sun, 10 Jan 2021 15:21:13 +0000 (UTC)
commit 95706fe1b53f14cce1b67bbac36859c9ee942173
Author: Aurimas Černius <aurisc4 gmail com>
Date: Fri Jan 1 23:06:42 2021 +0200
Fix changing sorting not always works
src/searchnoteswidget.cpp | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp
index 760b78a6..3f2bc220 100644
--- a/src/searchnoteswidget.cpp
+++ b/src/searchnoteswidget.cpp
@@ -506,7 +506,6 @@ void SearchNotesWidget::update_results()
m_store_sort->set_sort_func(2 /* change date */,
sigc::mem_fun(*this, &SearchNotesWidget::compare_dates));
m_store_sort->set_sort_column(m_sort_column_id, m_sort_column_order);
- m_store_sort->unset_default_sort_func();
m_store_sort->signal_sort_column_changed()
.connect(sigc::mem_fun(*this, &SearchNotesWidget::on_sorting_changed));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]