From ce0e23bf5d77803ad70dd92ea7e466d2d7a79773 Mon Sep 17 00:00:00 2001 From: etienne Date: Thu, 29 Jul 2004 14:16:11 +0000 Subject: Bug fix : the Replay/Display dialog window was displayed even if the loaded file didn't contain time information. --- src/ivymon | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ivymon b/src/ivymon index 297433d..003f76d 100755 --- a/src/ivymon +++ b/src/ivymon @@ -1947,9 +1947,13 @@ sub loadfile { } my $loadingmode = 'display'; my ($step, $timefound) = &stepsnumber(); - $loadingmode = &selectLoadingMode(); - if ($loadingmode eq 'replay') { - &loadfileForReplay($step); + if ($timefound) { + $loadingmode = &selectLoadingMode(); + if ($loadingmode eq 'replay') { + &loadfileForReplay($step); + } else { + &loadfileForDisplay($step); + } } else { &loadfileForDisplay($step); } -- cgit v1.1