From 5103c214bd2ad42aff0e4319cad3b83d06886fe0 Mon Sep 17 00:00:00 2001 From: Alfred Eriksson Date: Sun, 11 Jan 2009 18:29:41 +0000 Subject: use enter in editor file dialogs --- src/game/editor/ed_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp index bc02d2b4..cd6d99a4 100644 --- a/src/game/editor/ed_editor.cpp +++ b/src/game/editor/ed_editor.cpp @@ -1953,7 +1953,7 @@ static void render_file_dialog() RECT button; ui_vsplit_r(&buttonbar, 50.0f, &buttonbar, &button); - if(do_editor_button(&ok_button, file_dialog_button_text, 0, &button, draw_editor_button, 0, 0)) + if(do_editor_button(&ok_button, file_dialog_button_text, 0, &button, draw_editor_button, 0, 0) || inp_key_pressed(KEY_RETURN)) { if(file_dialog_func) file_dialog_func(file_dialog_complete_filename); -- cgit 1.4.1