fix: crash when saving settings

This commit is contained in:
quenousimporte 2023-11-10 15:55:32 +01:00
parent 4a49a74972
commit 5ba803f0a6
1 changed files with 5 additions and 1 deletions

View File

@ -1256,7 +1256,11 @@ function loadsettings()
if (settings.tagfilter) if (settings.tagfilter)
{ {
commands.find(c => c.hint == "Add tag filter").hint = removetaghint(); var command = commands.find(c => c.hint == "Add tag filter");
if (command)
{
command.hint = removetaghint();
}
} }
if (settings.titlebydefault && title.hidden) if (settings.titlebydefault && title.hidden)