13
0

Plugin Selector: allow to sort by Name

Previously the first 2 columns were Fav/Hide radio options.
Now there is only a boolean Favorite checkbox.
This commit is contained in:
Robin Gareus 2022-12-27 16:32:47 +01:00
parent 478338854d
commit b458eee160
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -129,7 +129,7 @@ PluginSelector::PluginSelector (PluginManager& mgr)
added_list.set_headers_visible (true); added_list.set_headers_visible (true);
added_list.set_reorderable (false); added_list.set_reorderable (false);
for (int i = 2; i <= 7; ++i) { for (int i = 1; i <= 7; ++i) {
Gtk::TreeView::Column* column = plugin_display.get_column(i); Gtk::TreeView::Column* column = plugin_display.get_column(i);
if (column) { if (column) {
column->set_sort_column(i); column->set_sort_column(i);