Merge pull request #51322 from raulsntos/fix-msbuild-exception
Ensure MSBuildPanel buttons are instantiated
This commit is contained in:
commit
35b08b7cbc
@ -183,9 +183,13 @@ namespace GodotTools.Build
|
||||
{
|
||||
base._Notification(what);
|
||||
|
||||
if (what == NotificationThemeChanged) {
|
||||
if (what == NotificationThemeChanged)
|
||||
{
|
||||
if (buildMenuBtn != null)
|
||||
buildMenuBtn.Icon = GetThemeIcon("Play", "EditorIcons");
|
||||
if (errorsBtn != null)
|
||||
errorsBtn.Icon = GetThemeIcon("StatusError", "EditorIcons");
|
||||
if (warningsBtn != null)
|
||||
warningsBtn.Icon = GetThemeIcon("NodeWarning", "EditorIcons");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user