From 639ddefbe11e9dc106b36674d2ad3d61aab7b938 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 21 Jan 2021 14:56:08 +0100 Subject: [PATCH] Fix dialog_yesno per kodi19 --- platformcode/platformtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index d1bda8d9..61aa1d0b 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -51,7 +51,7 @@ def dialog_yesno(heading, message, nolabel=config.get_localized_string(70170), y dialog = xbmcgui.Dialog() # customlabel only work on kodi 19 if PY3 and customlabel: - return dialog.yesno(heading, message, customlabel=customlabel, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose) + return dialog.yesnocustom(heading, message, customlabel=customlabel, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose) else: return dialog.yesno(heading, message, nolabel=nolabel, yeslabel=yeslabel, autoclose=autoclose)