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(); } };