diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-19 19:56:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-19 19:56:17 +0300 |
commit | 30935955d6e60705d438223e558bc2abb2be2abb (patch) | |
tree | 96dd61fd8690c3f32db90627a412e0a8ad94f212 | |
parent | 2da0d3db80db964ff3db0e19175df9f9c079d737 (diff) |
UI: minor tweaks to image editor panels
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 44290a385c4..1dd5e6c427b 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -857,7 +857,7 @@ void uiTemplateImage(uiLayout *layout, if (is_dirty) { uiLayout *row = uiLayoutRow(layout, true); uiItemO(row, IFACE_("Save"), ICON_NONE, "image.save"); - uiItemO(row, IFACE_("Discard Changes"), ICON_NONE, "image.reload"); + uiItemO(row, IFACE_("Discard"), ICON_NONE, "image.reload"); uiItemS(layout); } @@ -1306,6 +1306,7 @@ void image_buttons_register(ARegionType *art) strcpy(pt->label, N_("Metadata")); strcpy(pt->category, "Image"); strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA); + pt->order = 10; pt->poll = metadata_panel_context_poll; pt->draw = metadata_panel_context_draw; pt->flag |= PNL_DEFAULT_CLOSED; |