aboutsummaryrefslogtreecommitdiffstats
path: root/apanel.pl
diff options
context:
space:
mode:
Diffstat (limited to 'apanel.pl')
-rwxr-xr-xapanel.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/apanel.pl b/apanel.pl
index a01e535f..f75c2fab 100755
--- a/apanel.pl
+++ b/apanel.pl
@@ -37,20 +37,19 @@ my $settings = getSettings();
ask_for_authentication($settings->{priv_method}) if(require_root_capability());
-while (1) {
my $mainWin = new MainDisplay();
+while (1) {
my $launch = $mainWin->start();
if ($launch) {
$mainWin->destroy();
$launch->start();
- undef($mainWin);
}
else {
$mainWin->destroy();
- undef($mainWin);
last;
}
+ $mainWin->setupGui();
}