commit | be0a2597ae0d9eb0b8a8a2fc9ae1784faa929844 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 09 13:50:16 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 09 13:50:16 2019 +0200 |
tree | 29c80c119b12d1004fd287f0b63525a931ec59cd | |
parent | 06bd824869b1cb7a85e64ec94135a35698be5b7f [diff] [blame] |
patch 8.1.1303: not possible to hide a balloon Problem: Not possible to hide a balloon. Solution: Hide the balloon when balloon_show() is called with an empty string or list. Add balloon_gettext().
diff --git a/src/popupmnu.c b/src/popupmnu.c index 2639d97..0b002f5 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c
@@ -1154,7 +1154,10 @@ ui_remove_balloon(); if (mesg == NULL && list == NULL) + { + pum_undisplay(); return; + } if (list != NULL) { listitem_T *li;