From 0f17784548de3e98f9a4d4f0cf61b3d45b06d875 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 23 Aug 2015 18:17:54 -0700 Subject: [PATCH] Actually open a new window in the New Window command --- src/command/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/app.cpp b/src/command/app.cpp index cdd797495..598cb9b5d 100644 --- a/src/command/app.cpp +++ b/src/command/app.cpp @@ -194,8 +194,8 @@ struct app_new_window final : public Command { STR_DISP("New Window") STR_HELP("Open a new application window") - void operator()(agi::Context *c) override { - RestartAegisub(); + void operator()(agi::Context *) override { + wxGetApp().NewProjectContext(); } };