aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-02-26 22:21:42 +0100
committerMaarten Vanraes <alien@mageia.org>2016-03-16 00:23:40 +0100
commitee63f88972f6e2034648f67d4f3be0bfb2b188e9 (patch)
tree244699741978400fa15aa63947cb24b50cfbd6d5 /lib/ManaTools
parent109949b6891a3974dbd760b6c2679ee5d2507e7f (diff)
downloadmanatools-ee63f88972f6e2034648f67d4f3be0bfb2b188e9.tar
manatools-ee63f88972f6e2034648f67d4f3be0bfb2b188e9.tar.gz
manatools-ee63f88972f6e2034648f67d4f3be0bfb2b188e9.tar.bz2
manatools-ee63f88972f6e2034648f67d4f3be0bfb2b188e9.tar.xz
manatools-ee63f88972f6e2034648f67d4f3be0bfb2b188e9.zip
Properties GUI helper: ref needs string comparison
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Shared/GUI/Properties.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManaTools/Shared/GUI/Properties.pm b/lib/ManaTools/Shared/GUI/Properties.pm
index 62e8ff14..27778da2 100644
--- a/lib/ManaTools/Shared/GUI/Properties.pm
+++ b/lib/ManaTools/Shared/GUI/Properties.pm
@@ -153,7 +153,7 @@ sub refresh {
$factory->createLabel($hbox, $key .': ');
my $val = $properties->prop($key);
$val = '' if (!defined($val));
- $val = '' if (ref($val) != '');
+ $val = '' if (ref($val) ne '');
$val = ''. $val;
$factory->createOutputField($hbox, $val);
$factory->createHStretch($hbox);