From e9e1b7b7de80a1764c2d7e35428b759ec02a4083 Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 18 Sep 2018 16:20:24 +0200 Subject: [PATCH] Revert "Change optionsdialog import behavior" This reverts commit ad444a5da0902164d7efde24f2b1d7e29c468951. --- resources/lib/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 8472eb79..d300393d 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -23,7 +23,7 @@ import xbmc import xbmcaddon import xbmcgui -from . import path_ops, variables as v, state, optionsdialog +from . import path_ops, variables as v, state ############################################################################### @@ -146,6 +146,7 @@ def messageDialog(heading, msg): """ Shows a dialog using the Plex layout """ + from .windows import optionsdialog optionsdialog.show(heading, msg, lang(186)) @@ -154,6 +155,7 @@ def yesno_dialog(heading, msg): Shows a dialog with a yes and a no button using the Plex layout. Returns True if the user selected yes, False otherwise """ + from .windows import optionsdialog return optionsdialog.show(heading, msg, lang(107), lang(106)) == 0