diff src/ex_cmds.c @ 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 278583ff5e44
children ce35cdbe9f74
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