apprt/embedded: new_window can be called without a parent

This commit is contained in:
Mitchell Hashimoto
2024-09-24 17:00:38 -07:00
parent bea24f7725
commit 1b31663865
6 changed files with 45 additions and 22 deletions

View File

@@ -317,6 +317,7 @@ pub fn performAction(
.unbind => unreachable,
.ignore => {},
.quit => try self.setQuit(),
.new_window => try self.newWindow(rt_app, .{ .parent = null }),
.open_config => try self.openConfig(rt_app),
.reload_config => try self.reloadConfig(rt_app),
.close_all_windows => {