From 94f02766044d004b0ee79d4cac63b5a4f67c7bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20H=C3=BCskes?= Date: Thu, 6 Oct 2022 13:15:08 +0200 Subject: [PATCH] Prevent nil Settings --- Libs/zzLDB/zzLDB.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/zzLDB/zzLDB.lua b/Libs/zzLDB/zzLDB.lua index 5d00302..aa34d34 100755 --- a/Libs/zzLDB/zzLDB.lua +++ b/Libs/zzLDB/zzLDB.lua @@ -29,7 +29,7 @@ function lib:DefaultOnClick(_, button, addon, childName) InterfaceOptionsFrame:Hide() end else - if(Settings.OpenToCategory) then + if(Settings and Settings.OpenToCategory) then Settings.OpenToCategory(childName) else InterfaceOptionsFrame_OpenToCategory(childName)