1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-05 12:55:46 +01:00

merge reshowing of the mode after a TabSelect event

This commit is contained in:
Doug Kearns
2007-10-16 00:06:45 +00:00
parent e96c63723d
commit 540273c6c7

View File

@@ -53,6 +53,7 @@ function Events() //{{{
}, false); }, false);
tabcontainer.addEventListener("TabSelect", function(event) { tabcontainer.addEventListener("TabSelect", function(event) {
vimperator.commandline.clear(); vimperator.commandline.clear();
vimperator.setMode(); // trick to reshow the mode in the command line
vimperator.statusline.updateTabCount(); vimperator.statusline.updateTabCount();
vimperator.buffer.updateBufferList(); vimperator.buffer.updateBufferList();
vimperator.tabs.updateSelectionHistory(); vimperator.tabs.updateSelectionHistory();