allow search plugins sorting. closes #7526

This commit is contained in:
Nick Korotysh 2017-10-03 16:57:09 +03:00
parent c5607f07c8
commit 4c8dd0ca9d
2 changed files with 4 additions and 0 deletions

View file

@ -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"));

View file

@ -45,6 +45,9 @@
<property name="itemsExpandable">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<column>
<property name="text">
<string>Name</string>