mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.0e04
This commit is contained in:
10
src/gui.c
10
src/gui.c
@@ -3491,7 +3491,7 @@ get_tabline_label(tp)
|
||||
/*
|
||||
* Send the event for clicking to select tab page "nr".
|
||||
* Returns TRUE if it was done, FALSE when skipped because we are already at
|
||||
* that tab page.
|
||||
* that tab page or the cmdline window is open.
|
||||
*/
|
||||
int
|
||||
send_tabline_event(nr)
|
||||
@@ -3501,6 +3501,14 @@ send_tabline_event(nr)
|
||||
|
||||
if (nr == tabpage_index(curtab))
|
||||
return FALSE;
|
||||
# ifdef FEAT_CMDWIN
|
||||
if (cmdwin_type != 0)
|
||||
{
|
||||
/* Set it back to the current tab page. */
|
||||
gui_mch_set_curtab(tabpage_index(curtab));
|
||||
return FALSE;
|
||||
}
|
||||
# endif
|
||||
string[0] = CSI;
|
||||
string[1] = KS_TABLINE;
|
||||
string[2] = KE_FILLER;
|
||||
|
Reference in New Issue
Block a user