[ wxwindows-Bugs-1730321 ] XRCed Can't deselect underline option in font dialog

SourceForge.net noreply at sourceforge.net
Mon Jun 4 08:04:52 PDT 2007


Bugs item #1730321, was opened at 2007-06-03 10:08
Message generated for change (Comment added) made by robind
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1730321&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XML resources
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: E.Pth (epmlist)
>Assigned to: Robin Dunn (robind)
Summary: XRCed Can't deselect underline option in font dialog

Initial Comment:
System: Windows XP , Python 2.5 , wxPython 2.8.4.0, XRCed 0.1.8-5

In XRCed font dialog the 'underline option' can't be deselected.

To fix the problem modify line 307 in params.py

from:
  try: underline = bool(self.value[4])

to:
  try: underline = bool(int(self.value[4]))

  
Description:
  self.value[4] is a string with the value '0' or '1'.
  bool('1') return True
  bool('0') return True
  bool('' ) return False


----------------------------------------------------------------------

>Comment By: Robin Dunn (robind)
Date: 2007-06-04 08:04

Message:
Logged In: YES 
user_id=53955
Originator: NO

Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1730321&group_id=9863




More information about the wx-dev mailing list