summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-08-19 02:04:56 +0200
committerPetr Mrázek <peterix@gmail.com>2015-08-19 02:04:56 +0200
commit5bc29b06a9268a43fe13a627ac02f34a77c76895 (patch)
treeeef34c5d98f7f588d18a547b0c8aff6408e8e3a5 /application
parent96fdaebb5c8c8902c98c1fb43e755cf90fc15198 (diff)
downloadMultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.gz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.lz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.tar.xz
MultiMC-5bc29b06a9268a43fe13a627ac02f34a77c76895.zip
NOISSUE fix log-related legacy instance crash and show hidden log files
Diffstat (limited to 'application')
-rw-r--r--application/InstancePageProvider.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/InstancePageProvider.h b/application/InstancePageProvider.h
index 79bdb71b..1da4c9f1 100644
--- a/application/InstancePageProvider.h
+++ b/application/InstancePageProvider.h
@@ -56,12 +56,11 @@ public:
values.append(new NotesPage(legacy.get()));
values.append(new ScreenshotsPage(PathCombine(legacy->minecraftRoot(), "screenshots")));
values.append(new InstanceSettingsPage(legacy.get()));
- values.append(new OtherLogsPage(legacy->minecraftRoot(), inst->getLogFileMatcher()));
}
auto logMatcher = inst->getLogFileMatcher();
if(logMatcher)
{
- values.append(new OtherLogsPage(onesix->minecraftRoot(), logMatcher));
+ values.append(new OtherLogsPage(inst->getLogFileRoot(), logMatcher));
}
return values;
}