Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_text/text_ops.c
| Context not available. | |||||
| switch (BKE_text_file_modified_check(text)) { | switch (BKE_text_file_modified_check(text)) { | ||||
| case 1: | case 1: | ||||
| if (text->flags & TXT_ISDIRTY) { | if (text->flags & TXT_ISDIRTY) { | ||||
| /* modified locally and externally, ahhh. offer more possibilites. */ | /* modified locally and externally, ahhh. offer more possibilities. */ | ||||
| pup = UI_popup_menu_begin(C, IFACE_("File Modified Outside and Inside Blender"), ICON_NONE); | pup = UI_popup_menu_begin(C, IFACE_("File Modified Outside and Inside Blender"), ICON_NONE); | ||||
| layout = UI_popup_menu_layout(pup); | layout = UI_popup_menu_layout(pup); | ||||
| uiItemEnumO_ptr(layout, op->type, IFACE_("Reload from disk (ignore local changes)"), | uiItemEnumO_ptr(layout, op->type, IFACE_("Reload from disk (ignore local changes)"), | ||||
| Context not available. | |||||