Temporary removed windowTitle setter to prevent crashing on Windows

This commit is contained in:
IgorTimofeev 2024-01-05 16:46:57 +03:00
parent 026d275378
commit cdfb40da42

View File

@ -241,7 +241,9 @@ object OcelotDesktop
private def savePath_=(path: Option[Path]): Unit = {
_savePath = path
UiHandler.windowTitle = UiHandler.baseWindowTitle + path.map(" - " + _).getOrElse("")
// TODO: Fix Windows crashes when calling this from non-lwjgl thread, see: http://forum.lwjgl.org/index.php?topic=2520.0
// UiHandler.windowTitle = UiHandler.baseWindowTitle + path.map(" - " + _).getOrElse("")
}
private val tmpPath = Files.createTempDirectory("ocelot-save")