mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed project item icons, and new document bug
This commit is contained in:
@ -112,6 +112,10 @@ namespace RainmeterStudio.UI.Panels
|
||||
|
||||
private void Refresh()
|
||||
{
|
||||
// Clear current items
|
||||
treeProjectItems.Items.Clear();
|
||||
|
||||
// No project
|
||||
if (Controller == null || Controller.ActiveProject == null)
|
||||
{
|
||||
this.IsEnabled = false;
|
||||
@ -137,7 +141,6 @@ namespace RainmeterStudio.UI.Panels
|
||||
}
|
||||
|
||||
// Add tree to tree view
|
||||
treeProjectItems.Items.Clear();
|
||||
treeProjectItems.Items.Add(new ReferenceViewModel(refTree));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user