git.cweiske.de
/
enigma2-curlytx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a507c5
)
move url loading after layout finishing to prevent crashes.
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 6 Dec 2011 07:49:39 +0000
(08:49 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 6 Dec 2011 07:49:39 +0000
(08:49 +0100)
sometimes the url has been loaded while the window/screen has not been drawn yet, e.g. when the box is slow because several recordings are running
src/CurlyTx.py
patch
|
blob
|
history
diff --git
a/src/CurlyTx.py
b/src/CurlyTx.py
index 16d1e31ae5e8cb9a9402728bd07ef980be6c4d51..6ce0efdc952b25886ad67011ecbe2d22bf1ccf3d 100644
(file)
--- a/
src/CurlyTx.py
+++ b/
src/CurlyTx.py
@@
-70,8
+70,11
@@
class CurlyTx(Screen,HelpableScreen):
self.loadHelp()
self.loadButtons()
+ self.onLayoutFinish.append(self.afterLayout)
+
+ def afterLayout(self):
+ self.setTextFont
self.loadUrl(config.plugins.CurlyTx.defaultPage.value)
- self.onLayoutFinish.append(self.setTextFont)
def loadHelp(self):
self.helpList.append((