commit | 447bfba24b231777a79bf53cdb33f44d9691e47e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 18 16:07:16 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 18 16:07:16 2020 +0200 |
tree | c7b93c13916357e83760dfa20eb9027225e1c805 | |
parent | e859312e748297bde67a053fd3c486fc2c14b532 [diff] [blame] |
patch 8.2.1237: changing 'completepopup' after opening popup has no effect Problem: Changing 'completepopup' after opening a popup has no effect. (Jay Sitter) Solution: Close the popup when the options are changed. (closes #6471)
diff --git a/src/optionstr.c b/src/optionstr.c index a0409fa..bfc2e3b 100644 --- a/src/optionstr.c +++ b/src/optionstr.c
@@ -2249,6 +2249,8 @@ { if (parse_completepopup(NULL) == FAIL) errmsg = e_invarg; + else + popup_close_info(); } # endif #endif