mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:32:27 +01:00
Reset the autocomplete timer before hiding the completions list to prevent an apparant race.
This commit is contained in:
@@ -591,6 +591,7 @@ liberator.CommandLine = function () //{{{
|
|||||||
{
|
{
|
||||||
multilineInputWidget.collapsed = true;
|
multilineInputWidget.collapsed = true;
|
||||||
outputContainer.collapsed = true;
|
outputContainer.collapsed = true;
|
||||||
|
autocompleteTimer.reset();
|
||||||
completionList.hide();
|
completionList.hide();
|
||||||
completions = [];
|
completions = [];
|
||||||
this.resetCompletions();
|
this.resetCompletions();
|
||||||
@@ -713,6 +714,7 @@ liberator.CommandLine = function () //{{{
|
|||||||
currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
|
currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
|
||||||
history.add(command);
|
history.add(command);
|
||||||
liberator.modes.pop(true);
|
liberator.modes.pop(true);
|
||||||
|
autocompleteTimer.reset();
|
||||||
completionList.hide();
|
completionList.hide();
|
||||||
liberator.focusContent(false);
|
liberator.focusContent(false);
|
||||||
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible
|
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible
|
||||||
|
|||||||
Reference in New Issue
Block a user