Revert "Change optionsdialog import behavior"

This reverts commit ad444a5da0.
This commit is contained in:
croneter 2018-09-18 16:20:24 +02:00
parent ad444a5da0
commit e9e1b7b7de

View file

@ -23,7 +23,7 @@ import xbmc
import xbmcaddon import xbmcaddon
import xbmcgui 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 Shows a dialog using the Plex layout
""" """
from .windows import optionsdialog
optionsdialog.show(heading, msg, lang(186)) 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. Shows a dialog with a yes and a no button using the Plex layout.
Returns True if the user selected yes, False otherwise Returns True if the user selected yes, False otherwise
""" """
from .windows import optionsdialog
return optionsdialog.show(heading, msg, lang(107), lang(106)) == 0 return optionsdialog.show(heading, msg, lang(107), lang(106)) == 0