diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-25 06:50:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-25 06:50:31 +0200 |
commit | 5c381eb9e72990e4153045f4911c59b9b2194edd (patch) | |
tree | e45433591e73b72b4e31a84e6172eef77ac8534a /src/ex_cmds.c | |
parent | 7d491c425334d9477637372a4ebec64c228c8430 (diff) |
patch 8.1.1592: may start file dialog while exitingv8.1.1592
Problem: May start file dialog while exiting.
Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi,
closes #4582
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 78fe17823e..0eaa662b25 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3186,7 +3186,7 @@ do_write(exarg_T *eap) ffname = eap->arg; #ifdef FEAT_BROWSE - if (cmdmod.browse) + if (cmdmod.browse && !exiting) { browse_file = do_browse(BROWSE_SAVE, (char_u *)_("Save As"), ffname, NULL, NULL, NULL, curbuf); |