Confirmation fix

This commit is contained in:
Nutbuster 2022-11-28 09:51:42 +11:00
parent 66258d6c62
commit b80ec30915
1 changed files with 2 additions and 3 deletions

View File

@ -79,10 +79,9 @@ init python:
oldlang = _preferences.language
self.function()
if (self.value): #check if it's not english
self.function()
else:
Confirm(_("Sample Text"), self.function())()
Confirm(_("Sample Text"), None, Language(oldlang))
if LangCave.on_disable_interactable:
if oldlang == _preferences.language: