mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 06:56:21 +00:00
Merge pull request #1655 from profanity-im/win-autocomplete
Reset url autocompletion after open/save
This commit is contained in:
@@ -9294,6 +9294,8 @@ cmd_url_open(ProfWin* window, const char* const command, gchar** args)
|
||||
_url_external_method(cmd_template, url, NULL);
|
||||
|
||||
out:
|
||||
// reset autocompletion to start from latest url and not where we left of
|
||||
autocomplete_reset(window->urls_ac);
|
||||
|
||||
free(cmd_template);
|
||||
free(filename);
|
||||
@@ -9350,6 +9352,8 @@ cmd_url_save(ProfWin* window, const char* const command, gchar** args)
|
||||
}
|
||||
|
||||
out:
|
||||
// reset autocompletion to start from latest url and not where we left of
|
||||
autocomplete_reset(window->urls_ac);
|
||||
|
||||
free(filename);
|
||||
free(cmd_template);
|
||||
|
||||
Reference in New Issue
Block a user