summaryrefslogtreecommitdiffstats
path: root/mdkapplet-config
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet-config')
-rwxr-xr-xmdkapplet-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkapplet-config b/mdkapplet-config
index ab412b6e..756166f9 100755
--- a/mdkapplet-config
+++ b/mdkapplet-config
@@ -51,6 +51,9 @@ sub configure() {
# convert from seconds to hours :
$config{UPDATE_FREQUENCY} /= 3600;
+ # sanity check:
+ $config{UPDATE_FREQUENCY} = 1 if $config{UPDATE_FREQUENCY} < 1;
+
my $res =
fill_n_run_portable_dialog(
$w,