UI: Delete cookies on profile removal

This commit is contained in:
jp9000
2019-02-13 19:39:55 -08:00
parent e67d04270a
commit 7edbb2f149
2 changed files with 11 additions and 0 deletions

View File

@@ -88,6 +88,15 @@ void DestroyPanelCookieManager()
#endif
}
void DeleteCookies()
{
#ifdef BROWSER_AVAILABLE
if (panel_cookies) {
panel_cookies->DeleteCookies("", "");
}
#endif
}
void DuplicateCurrentCookieProfile(ConfigFile &config)
{
#ifdef BROWSER_AVAILABLE