svn merge ^/trunk/blender -r43392:43420
[blender.git] / source / blender / editors / space_image / space_image.c
index c9cb5bd406d411c2c7160b87fae23d5b8e7f9f63..6fce836af988143024d90708fea7310e82fa1f9f 100644 (file)
@@ -542,7 +542,7 @@ static void image_keymap(struct wmKeyConfig *keyconf)
        /* toggle editmode is handy to have while UV unwrapping */
        kmi= WM_keymap_add_item(keymap, "OBJECT_OT_mode_set", TABKEY, KM_PRESS, 0, 0);
        RNA_enum_set(kmi->ptr, "mode", OB_MODE_EDIT);
-       RNA_boolean_set(kmi->ptr, "toggle", 1);
+       RNA_boolean_set(kmi->ptr, "toggle", TRUE);
 }
 
 /* dropboxes */