NOISSUE fix log-related legacy instance crash and show hidden log files

This commit is contained in:
Petr Mrázek
2015-08-19 02:04:56 +02:00
parent 96fdaebb5c
commit 5bc29b06a9
6 changed files with 21 additions and 4 deletions

View File

@ -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;
}