From the OFTL: Pad-period refreshes File browser.
authorTon Roosendaal <ton@blender.org>
Wed, 9 Mar 2011 15:19:53 +0000 (15:19 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 9 Mar 2011 15:19:53 +0000 (15:19 +0000)
source/blender/editors/space_file/space_file.c

index b8a512335c530f8d10573d5c302dd86f1a56d089..0c95bf482f2aeb08fad1d7c32170c40a11a4e5e4 100644 (file)
@@ -420,6 +420,7 @@ static void file_keymap(struct wmKeyConfig *keyconf)
        RNA_boolean_set(kmi->ptr, "extend", 1);
        RNA_boolean_set(kmi->ptr, "fill", 1);
        WM_keymap_add_item(keymap, "FILE_OT_select_all_toggle", AKEY, KM_PRESS, 0, 0);
+       WM_keymap_add_item(keymap, "FILE_OT_refresh", PADPERIOD, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "FILE_OT_select_border", BKEY, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "FILE_OT_select_border", EVT_TWEAK_L, KM_ANY, 0, 0);
        WM_keymap_add_item(keymap, "FILE_OT_rename", LEFTMOUSE, KM_PRESS, KM_CTRL, 0);