summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}