summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-25 23:40:29 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-25 23:40:29 +0200
commit2eed9bafa013f278ffe8bcd52489f90b11cf00e1 (patch)
tree9a2dcd1d2b0efacc4564f212baccba596d51e4f1 /src/ex_cmds.c
parent6a7af8e2dbcb768a768831d9e6355c855c215ebc (diff)
patch 8.1.1594: may still start file dialog while exitingv8.1.1594
Problem: May still start file dialog while exiting. Solution: Ignore the "browse" modifier in another place when exiiting. (Ozaki Kiichi, closes #4582)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 0eaa662b25..4126fe09f9 100644
--- 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