From 4c8dd0ca9d6e6fce71aaba6c22c131ed0b1fd440 Mon Sep 17 00:00:00 2001 From: Nick Korotysh Date: Tue, 3 Oct 2017 16:57:09 +0300 Subject: [PATCH] allow search plugins sorting. closes #7526 --- src/gui/search/pluginselectdlg.cpp | 1 + src/gui/search/pluginselectdlg.ui | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/gui/search/pluginselectdlg.cpp b/src/gui/search/pluginselectdlg.cpp index 1995fb0e5..653d75800 100644 --- a/src/gui/search/pluginselectdlg.cpp +++ b/src/gui/search/pluginselectdlg.cpp @@ -82,6 +82,7 @@ PluginSelectDlg::PluginSelectDlg(SearchEngine *pluginManager, QWidget *parent) m_ui->pluginsTree->header()->resizeSection(1, 80); m_ui->pluginsTree->header()->resizeSection(2, 200); m_ui->pluginsTree->hideColumn(PLUGIN_ID); + m_ui->pluginsTree->header()->setSortIndicator(0, Qt::AscendingOrder); m_ui->actionUninstall->setIcon(GuiIconProvider::instance()->getIcon("list-remove")); diff --git a/src/gui/search/pluginselectdlg.ui b/src/gui/search/pluginselectdlg.ui index 696a90173..c5d5ae730 100644 --- a/src/gui/search/pluginselectdlg.ui +++ b/src/gui/search/pluginselectdlg.ui @@ -45,6 +45,9 @@ false + + true + Name