aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo@mageia.org>2013-01-14 18:13:07 +0000
committerMatteo Pasotti <matteo@mageia.org>2013-01-14 18:13:07 +0000
commitb3db587c07173f65555e1db9fbde59abf517c5d9 (patch)
tree82132c4d93de1727e28e99e9efce5b6de78c95c9 /modules/rpmdragora
parente93139ee787b9894e247bf4626591b3d4ebbb258 (diff)
downloadcolin-keep-b3db587c07173f65555e1db9fbde59abf517c5d9.tar
colin-keep-b3db587c07173f65555e1db9fbde59abf517c5d9.tar.gz
colin-keep-b3db587c07173f65555e1db9fbde59abf517c5d9.tar.bz2
colin-keep-b3db587c07173f65555e1db9fbde59abf517c5d9.tar.xz
colin-keep-b3db587c07173f65555e1db9fbde59abf517c5d9.zip
fixed views selection at start
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 9a7599f..1802d0f 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -549,6 +549,7 @@ sub run_treeview_dialog {
$view_box->addItem($views{normal});
$view_box->addItem($views{backports}) if($is_backports);
$view_box->setNotify(1);
+ $view_box->selectItem($view_box->findItem($views{$default_list_mode})) if(defined($views{$default_list_mode}));
$options->{tree_submode} ||= $default_list_mode;
$options->{tree_subflat} ||= $options->{state}{flat};