summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index ec3af28127..572e330f3f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -318,6 +318,12 @@ gui_init()
}
/*
+ * Reset 'paste'. It's useful in the terminal, but not in the GUI. It
+ * breaks the Paste toolbar button.
+ */
+ set_option_value((char_u *)"paste", 0L, NULL, 0);
+
+ /*
* Set up system-wide default menus.
*/
#if defined(SYS_MENU_FILE) && defined(FEAT_MENU)