changeset 17190:94cc7da54754 v8.1.1594

patch 8.1.1594: may still start file dialog while exiting commit https://github.com/vim/vim/commit/2eed9bafa013f278ffe8bcd52489f90b11cf00e1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 25 23:40:29 2019 +0200 patch 8.1.1594: may still start file dialog while exiting Problem: May still start file dialog while exiting. Solution: Ignore the "browse" modifier in another place when exiiting. (Ozaki Kiichi, closes #4582)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Jun 2019 23:45:03 +0200
parents 67aaa869f531
children 8f284b0a5a35
files src/ex_cmds.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3818,7 +3818,7 @@ do_ecmd(
     else
     {
 #ifdef FEAT_BROWSE
-	if (cmdmod.browse)
+	if (cmdmod.browse && !exiting)
 	{
 	    if (
 # ifdef FEAT_GUI
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1594,
+/**/
     1593,
 /**/
     1592,