Browse Source

SearchTab: can now save sorting column changes

adaptive-webui-19844
thalieht 8 years ago
parent
commit
9f06d0d47b
  1. 4
      src/gui/search/searchtab.cpp

4
src/gui/search/searchtab.cpp

@ -130,9 +130,7 @@ SearchTab::SearchTab(SearchWidget *parent) @@ -130,9 +130,7 @@ SearchTab::SearchTab(SearchWidget *parent)
connect(header(), SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(displayToggleColumnsMenu(const QPoint &)));
connect(header(), SIGNAL(sectionResized(int, int, int)), this, SLOT(saveSettings()));
connect(header(), SIGNAL(sectionMoved(int, int, int)), this, SLOT(saveSettings()));
// Sort by Seeds
m_ui->resultsBrowser->sortByColumn(SearchSortModel::SEEDS, Qt::DescendingOrder);
connect(header(), SIGNAL(sortIndicatorChanged(int, Qt::SortOrder)), this, SLOT(saveSettings()));
fillFilterComboBoxes();

Loading…
Cancel
Save