diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ManaTools/MainDisplay.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ManaTools/MainDisplay.pm b/lib/ManaTools/MainDisplay.pm index 63934a7b..753a3e57 100644 --- a/lib/ManaTools/MainDisplay.pm +++ b/lib/ManaTools/MainDisplay.pm @@ -454,7 +454,8 @@ sub _loadSettings { my $fileName = "$self->{confDir}/settings.conf"; die "Configuration file missing" if (! -e $fileName); if (!$self->{settings} || $force_load) { - $self->{settings} = new ManaTools::SettingsReader($fileName); + my $settingsReader = ManaTools::SettingsReader->new({fileName => $fileName}); + $self->{settings} = $settingsReader->settings(); } } |