Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv5356/src/modules
Modified Files:
TextViewer.cpp
Log Message:
reset the style to default after inserting an URL (fixes the bug 564)
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -u -2 -r1.28 -r1.29
--- TextViewer.cpp 16 Apr 2002 19:32:15 -0000 1.28
+++ TextViewer.cpp 25 Apr 2002 18:24:49 -0000 1.29
@@ -242,4 +242,10 @@
AppendText(text);
+
+ if ( col.Ok() )
+ {
+ // reset the style back to the previous one
+ SetDefaultStyle(wxTextAttr());
+ }
}
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates