mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
* 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:
parent
c885205620
commit
b1a754e388
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user