mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-04 19:44:56 -04:00
GH-2238 fix issues with whitespace/newlines in folder and instance names
This commit is contained in:
1 parent
d5037d4f79
commit
59e2f52db7
4 files changed
+9
-6
No files matched your search
@@ -244,7 +244,7 @@ QString BaseInstance::name() const
|
||||
|
||||
QString BaseInstance::windowTitle() const
|
||||
{
|
||||
return "MultiMC: " + name();
|
||||
return "MultiMC: " + name().replace(QRegExp("[ \n\r\t]+"), " ");
|
||||
}
|
||||
|
||||
// FIXME: why is this here? move it to MinecraftInstance!!!
|
||||
|
||||
Reference in new issue
Block a user