Skip to content

Commit

Permalink
As we do not have animationMode implemented do not set the instance
Browse files Browse the repository at this point in the history
When this function was called it crashed of corse like this:
[Skin] Processing screen 'NumericalTextInputHelpDialog', position=(537, 675), size=(846 x 246) for module 'NumericalTextInputHelpDialog'.
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ConfigList.py", line 92, in selectionChanged
    self.current[1].onSelect(self.session)
  File "/usr/lib/enigma2/python/Components/config.py", line 1442, in onSelect
    self.help_window.setAnimationMode(0)
  File "/usr/lib/enigma2/python/Screens/Screen.py", line 206, in setAnimationMode
    self.instance.setAnimationMode(mode)
AttributeError: 'eWindow' object has no attribute 'setAnimationMode'
[ePyObject] (CallObject(<bound method ConfigList.selectionChanged of <Components.ConfigList.ConfigList object at 0xad3c6af0>>,()) failed)
[gRC] Warning: Main thread is busy, displaying spinner!
Killed
  • Loading branch information
Littlesat committed May 12, 2024
1 parent 5a3430a commit b1ce32b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/python/Screens/Screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ def setDesktop(self, desktop):
self.desktop = desktop

def setAnimationMode(self, mode):
if self.instance:
self.instance.setAnimationMode(mode)
pass

def getRelatedScreen(self, name):
if name == "session":
Expand Down

0 comments on commit b1ce32b

Please sign in to comment.