Uwe Grauer wrote:
> Uwe Grauer wrote:
>> Just noticed i get a traceback on font resizing.
>> Any hint on what could be the cause before i start debugging?
>> This is with rev 3927.
>>
>> Traceback (most recent call last):
>> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/uiApp.py", line
>> 246, in _onKeyPress
>> self.fontZoomIn()
>> File "/usr/lib/python2.5/site-packages/dabo/ui/uiwx/uiApp.py", line
>> 259, in fontZoomIn
>> af.iterateCall("fontZoomIn")
>> File "/usr/lib/python2.5/site-packages/dabo/ui/dPemMixinBase.py",
>> line 91, in iterateCall
>> func(*args, **kwargs)
>> File "/usr/lib/python2.5/site-packages/dabo/ui/dPemMixinBase.py",
>> line 105, in fontZoomIn
>> self._setRelativeFontZoom(amt)
>> File "/usr/lib/python2.5/site-packages/dabo/ui/dPemMixinBase.py",
>> line 116, in _setRelativeFontZoom
>> abs_zoom = getattr(self, "_currFontZoom", 0) + amt
>> TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
>
> _currFontZoom is None here.
Sorry, i meant getattr(self, "_currFontZoom", 0) is None.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]