diff options
author | etienne | 2004-07-29 14:16:11 +0000 |
---|---|---|
committer | etienne | 2004-07-29 14:16:11 +0000 |
commit | ce0e23bf5d77803ad70dd92ea7e466d2d7a79773 (patch) | |
tree | 30f5d6c71ffe1887dd4c520364407d19065b0243 | |
parent | 38b56dcb3c62678e931359b9e9919a1e590fc344 (diff) | |
download | ivymon-ce0e23bf5d77803ad70dd92ea7e466d2d7a79773.zip ivymon-ce0e23bf5d77803ad70dd92ea7e466d2d7a79773.tar.gz ivymon-ce0e23bf5d77803ad70dd92ea7e466d2d7a79773.tar.bz2 ivymon-ce0e23bf5d77803ad70dd92ea7e466d2d7a79773.tar.xz |
Bug fix : the Replay/Display dialog window was displayed even if the loaded
file didn't contain time information.
-rwxr-xr-x | src/ivymon | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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); } |