diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-05 21:52:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-05 21:52:04 +0200 |
commit | 1b6d9c4215a56f3dda4df6e05d655c853551ffbd (patch) | |
tree | 57904cb4d8c5ac3513f1f7c946f8dafe949c8498 /src/tag.c | |
parent | b4a88a0441a65a0c9411c294825a08ca703f541e (diff) |
patch 8.1.1819: :pedit does not work with a popup preview windowv8.1.1819
Problem: :pedit does not work with a popup preview window.
Solution: Avoid aborting with an error. (fixes #4777) Also double check
that after prepare_tagpreview() the current window is not a
popup window.
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3693,6 +3693,11 @@ jumpto_tag( } #endif } +#if defined(FEAT_QUICKFIX) && defined(FEAT_TEXT_PROP) + if (WIN_IS_POPUP(curwin)) + // something went wrong, still in popup, but it can't have focus + win_enter(firstwin, TRUE); +#endif erret: #if defined(FEAT_QUICKFIX) |