summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index 1df07ea..e126fd1 100644
--- a/menu.c
+++ b/menu.c
@@ -329,6 +329,8 @@ static void ask_reload_menu_update(Ted *ted) {
break;
case POPUP_NO:
menu_close(ted);
+ if (buffer)
+ buffer_ignore_changes_on_disk(buffer);
break;
case POPUP_CANCEL: assert(0); break;
}