From 2b092abd8abad84ef0bf1cf38c0ed980325441a7 Mon Sep 17 00:00:00 2001
From: EliteMasterEric <ericmyllyoja@gmail.com>
Date: Mon, 4 Sep 2023 15:33:08 -0400
Subject: [PATCH] Added missing File menu keybinds

---
 source/funkin/ui/debug/charting/ChartEditorState.hx | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx
index f27fbb6c7..e51a94177 100644
--- a/source/funkin/ui/debug/charting/ChartEditorState.hx
+++ b/source/funkin/ui/debug/charting/ChartEditorState.hx
@@ -2899,6 +2899,18 @@ class ChartEditorState extends HaxeUIState
    */
   function handleFileKeybinds():Void
   {
+    // CTRL + N = New Chart
+    if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.N)
+    {
+      ChartEditorDialogHandler.openWelcomeDialog(this, true);
+    }
+
+    // CTRL + O = Open Chart
+    if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.N)
+    {
+      ChartEditorDialogHandler.openBrowseWizard(this, true);
+    }
+
     // CTRL + Q = Quit to Menu
     if (FlxG.keys.pressed.CONTROL && FlxG.keys.justPressed.Q)
     {