diff options
| author | Alfred Eriksson <somerunce@gmail.com> | 2009-01-11 18:29:41 +0000 |
|---|---|---|
| committer | Alfred Eriksson <somerunce@gmail.com> | 2009-01-11 18:29:41 +0000 |
| commit | 5103c214bd2ad42aff0e4319cad3b83d06886fe0 (patch) | |
| tree | 23de3c5616dbb41cab822164de966e79f014b7f4 | |
| parent | 035e7a94ffeb570842de33d773082c219452989e (diff) | |
| download | zcatch-5103c214bd2ad42aff0e4319cad3b83d06886fe0.tar.gz zcatch-5103c214bd2ad42aff0e4319cad3b83d06886fe0.zip | |
use enter in editor file dialogs
| -rw-r--r-- | src/game/editor/ed_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |