Skip to content

Commit

Permalink
[MessageBox]
Browse files Browse the repository at this point in the history
* prevent crash if list not defined
  • Loading branch information
jbleyel committed Dec 3, 2023
1 parent ac07da3 commit 749b16e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions usr/share/enigma2/MetrixHD/skinfiles/skin_openatv.xml
Expand Up @@ -1760,9 +1760,10 @@ textsize = (textwidth,textheight)
self["text"].instance.resize(eSize(*textsize))

# move list
listsize = (wsizex - offset_listposx * 2,listheight)
self["list"].instance.move(ePoint(offset_listposx,textheight + offset_listposy))
self["list"].instance.resize(eSize(*listsize))
if self.list:
listsize = (wsizex - offset_listposx * 2,listheight)
self["list"].instance.move(ePoint(offset_listposx,textheight + offset_listposy))
self["list"].instance.resize(eSize(*listsize))

# center window
newwidth = wsize[0]
Expand Down

0 comments on commit 749b16e

Please sign in to comment.