Skip to content

contiuity erros with function: gui_search() #2

@Nollikino

Description

@Nollikino

I've found a bug with the function gui_search().

If you cancel a command that uses this function, after the GoSub command "gui_search_add_elements" finds a match, then the variable "search_urls" is not cleared.

Because of this, when you then use the function once again, it will run the cancelled command aswell as the new command that you launched.

I've solved it for my part by making the script clear the variable when the GuiEscape GoSub is called.

Here is the code:

GuiEscape:
    gui_destroy()
    search_urls := 0
    return

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions