diff --git a/Source/Editor/Content/Import/ImportFilesDialog.cs b/Source/Editor/Content/Import/ImportFilesDialog.cs index c1d24f68c..84f957733 100644 --- a/Source/Editor/Content/Import/ImportFilesDialog.cs +++ b/Source/Editor/Content/Import/ImportFilesDialog.cs @@ -189,6 +189,19 @@ namespace FlaxEditor.Content.Import return true; } + public override bool OnKeyDown(KeyboardKeys key) + { + if (base.OnKeyDown(key)) + return true; + switch (key) + { + case KeyboardKeys.F2: + StartRenaming(); + return true; + } + return false; + } + /// /// Shows the rename popup for the item. ///