Change optionsdialog import behavior
This commit is contained in:
parent
759ea44ad4
commit
ad444a5da0
1 changed files with 1 additions and 3 deletions
|
@ -23,7 +23,7 @@ import xbmc
|
|||
import xbmcaddon
|
||||
import xbmcgui
|
||||
|
||||
from . import path_ops, variables as v, state
|
||||
from . import path_ops, variables as v, state, optionsdialog
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
@ -146,7 +146,6 @@ def messageDialog(heading, msg):
|
|||
"""
|
||||
Shows a dialog using the Plex layout
|
||||
"""
|
||||
from .windows import optionsdialog
|
||||
optionsdialog.show(heading, msg, lang(186))
|
||||
|
||||
|
||||
|
@ -155,7 +154,6 @@ 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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue