Commit c47b2e44 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Select the first category on the advanced preferences.

parent bc77ed15
...@@ -148,6 +148,11 @@ void PrefsDialog::setAdvanced() ...@@ -148,6 +148,11 @@ void PrefsDialog::setAdvanced()
} }
advanced_panel->show(); advanced_panel->show();
/* Select the first Item of the preferences. Maybe you want to select a specified
category... */
advanced_tree->setCurrentIndex(
advanced_tree->model()->index( 0, 0, QModelIndex() ) );
all->setChecked( true ); all->setChecked( true );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment