summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretienne2004-07-29 14:16:11 +0000
committeretienne2004-07-29 14:16:11 +0000
commitce0e23bf5d77803ad70dd92ea7e466d2d7a79773 (patch)
tree30f5d6c71ffe1887dd4c520364407d19065b0243
parent38b56dcb3c62678e931359b9e9919a1e590fc344 (diff)
downloadivymon-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-xsrc/ivymon10
1 files changed, 7 insertions, 3 deletions
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);
}