mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-26 17:16:28 +00:00
GRF Editor - Fixed SetCompressionLevel being called when file failed to load
This commit is contained in:
@@ -103,9 +103,9 @@ namespace PckStudio.Forms.Editor
|
||||
private void ReloadGameRuleTree()
|
||||
{
|
||||
GrfTreeView.Nodes.Clear();
|
||||
SetCompressionLevel();
|
||||
if (_file is not null)
|
||||
{
|
||||
SetCompressionLevel();
|
||||
LoadGameRuleTree(GrfTreeView.Nodes, _file.Root);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user