1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 16:17:57 +01:00

'B' works now as it is supposed to do

This commit is contained in:
Martin Stubenschrott
2007-04-24 19:47:35 +00:00
parent 3294a0d361
commit a98f9fd379
2 changed files with 21 additions and 5 deletions

View File

@@ -1481,9 +1481,25 @@ function bufshow(filter, in_comp_window)
}
else // in the preview window
{
var items = get_buffer_completions(filter);
preview_window_fill(items);
preview_window_show();
if(g_bufshow == true)
{
setTimeout(function ()
{
var items = get_buffer_completions(filter);
preview_window_fill(items);
preview_window_show();
g_bufshow = true;
preview_window.selectItem(preview_window.getItemAtIndex(gBrowser.mTabContainer.selectedIndex));
}, 100);
}
else
{
var items = get_buffer_completions(filter);
preview_window_fill(items);
preview_window_show();
g_bufshow = true;
preview_window.selectItem(preview_window.getItemAtIndex(gBrowser.mTabContainer.selectedIndex));
}
}
}