Skip to content
Permalink
Browse files
startup : check for existence of queue mode after loading plugins
  • Loading branch information
squentin committed Sep 7, 2011
1 parent 0c1c9f5 commit 4ea8522c30a693f3e43756bc0bcfd075b21eff1d
Showing with 6 additions and 5 deletions.
  1. +6 −5 gmusicbrowser.pl
@@ -1276,6 +1276,8 @@ sub forksystem

Layout::InitLayouts;
ActivatePlugin($_,'startup') for grep $Options{'PLUGIN_'.$_}, sort keys %Plugins;
Update_QueueActionList();
QueueChanged() if $QueueAction;

CreateMainWindow( $CmdLine{layout}||$Options{Layout} );
ShowHide(0) if $CmdLine{hide} || ($Options{StartInTray} && $Options{UseTray} && $TrayIconAvailable);
@@ -1926,11 +1928,10 @@ sub ReadSavedTags #load tags _and_ settings
}

delete $Options{LastPlayFilter} unless $Options{RememberPlayFilter};
$Options{SongArray_Queue}=undef unless $Options{RememberQueue};
if ($Options{RememberQueue})
{ $QueueAction= $Options{QueueAction} || '';
$QueueAction='' unless $QActions{$QueueAction};
QueueChanged() if $QueueAction;
$QueueAction= $Options{QueueAction} || '';
unless ($Options{RememberQueue})
{ $Options{SongArray_Queue}=undef;
$QueueAction= '';
}
if ($Options{RememberPlayFilter})
{ $TogLock=$Options{Lock};

0 comments on commit 4ea8522

Please sign in to comment.