* show popup without delay even when the inline completion is just activated by explicit tab

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23107 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-21 19:44:28 +00:00
parent c885205620
commit b1a754e388

View File

@ -453,6 +453,13 @@ void GuiCompleter::tab()
// try to activate the inline completion // try to activate the inline completion
if (cur.inset().inlineCompletionSupported(cur)) { if (cur.inset().inlineCompletionSupported(cur)) {
showInline(); showInline();
// show popup without delay because the completion was not unique
if (lyxrc.completion_popup_after_complete
&& !popupVisible()
&& popup()->model()->rowCount() > 1)
popup_timer_.start(0);
return; return;
} }
// or try popup // or try popup