nightly: bump 0.1.61 and fix install/cancel selection flow
This commit is contained in:
@@ -3538,19 +3538,14 @@ def _show_version_selector() -> None:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
try:
|
||||
confirm = dialog.yesno(
|
||||
"Version installieren",
|
||||
f"Version: {version}",
|
||||
"Installation jetzt starten?",
|
||||
"",
|
||||
confirm_choice = xbmcgui.Dialog().select(
|
||||
"Version installieren",
|
||||
[
|
||||
f"Installieren: {version}",
|
||||
"Abbrechen",
|
||||
"Installieren",
|
||||
)
|
||||
except TypeError:
|
||||
confirm = dialog.yesno("Version installieren", f"Version: {version}", "Installation jetzt starten?")
|
||||
if not confirm:
|
||||
],
|
||||
)
|
||||
if confirm_choice != 0:
|
||||
return
|
||||
|
||||
xbmcgui.Dialog().notification("Updates", f"Installation gestartet: {version}", xbmcgui.NOTIFICATION_INFO, 2500)
|
||||
|
||||
Reference in New Issue
Block a user