summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-tab.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c
index 8e0d4d47..02024e89 100644
--- a/pluma/pluma-tab.c
+++ b/pluma/pluma-tab.c
@@ -1031,6 +1031,8 @@ document_loaded (PlumaDocument *document,
{
GtkWidget *w;
+ pluma_tab_get_view (tab);
+
tab->priv->not_editable = TRUE;
w = pluma_file_already_open_warning_message_area_new (uri);