summaryrefslogtreecommitdiffstats
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index b3d125cd5a..524eb82c0b 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1175,11 +1175,10 @@ ui_focus_change(
gui_update_scrollbars(FALSE);
# endif
}
-#ifdef FEAT_TITLE
+
// File may have been changed from 'readonly' to 'noreadonly'
if (need_maketitle)
maketitle();
-#endif
}
#if defined(HAVE_INPUT_METHOD) || defined(PROTO)