Make home the default page
This commit is contained in:
parent
80071050cc
commit
5a5b17bf20
@ -42,7 +42,7 @@ public partial class AppManager : Node
|
||||
}
|
||||
catch (InvalidCastException e)
|
||||
{
|
||||
GD.PrintErr($"Couldn't add page '{scene}': {e}");
|
||||
GD.PrintErr($"Couldn't add page '{scene.ResourceName}': {e}");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@ -64,6 +64,8 @@ public partial class AppManager : Node
|
||||
}
|
||||
|
||||
MainCanvas.AddChild(MainUI);
|
||||
|
||||
LoadPage("Home");
|
||||
}
|
||||
|
||||
public void LoadPage(string pageName)
|
||||
|
Loading…
Reference in New Issue
Block a user