Allow lazy updates of header and body contents in Expander
Bug #844872 reported by
Jonathan Jacobs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Methanal |
Fix Released
|
Low
|
Jonathan Jacobs |
Bug Description
Tristan's suggestion:
def getHeaderConten
content = self.headerFact
if content == self.headerContent:
return None
content.
self.
return content
def updateRemoteHea
content = self.getHeaderC
if content is not None:
return self.callRemote(
Related branches
lp://staging/~methanal-developers/methanal/844872-lazy-expander-content-updates
- Tristan Seligmann: Approve
-
Diff: 208 lines (+140/-4)2 files modifiedmethanal/test/test_widgets.py (+87/-0)
methanal/widgets.py (+53/-4)
Changed in methanal: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Jonathan Jacobs (jjacobs) |
milestone: | none → 0.2.2 |
Changed in methanal: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.