0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

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)
This commit is contained in:
Bram Moolenaar 2019-06-25 23:40:29 +02:00
parent 6a7af8e2db
commit 2eed9bafa0
2 changed files with 3 additions and 1 deletions

View File

@ -3818,7 +3818,7 @@ do_ecmd(
else
{
#ifdef FEAT_BROWSE
if (cmdmod.browse)
if (cmdmod.browse && !exiting)
{
if (
# ifdef FEAT_GUI

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1594,
/**/
1593,
/**/