mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-25 16:15:55 +00:00
IPckEditor - Added UpdateView method
This commit is contained in:
@@ -1655,5 +1655,10 @@ namespace PckStudio.Controls
|
||||
isTemplateFile = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void UpdateView()
|
||||
{
|
||||
BuildMainTreeView();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,5 +22,7 @@ namespace PckStudio.Interfaces
|
||||
void SaveTo(string filepath);
|
||||
|
||||
void Close();
|
||||
|
||||
void UpdateView();
|
||||
}
|
||||
}
|
||||
@@ -131,12 +131,9 @@ namespace PckStudio
|
||||
{
|
||||
if (TryGetEditor(out IPckEditor editor))
|
||||
{
|
||||
//TODO
|
||||
//editor.BuildMainTreeView();
|
||||
editor.UpdateView();
|
||||
}
|
||||
});
|
||||
|
||||
//UpdateRichPresence();
|
||||
}
|
||||
|
||||
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user