Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv14573/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
expand the template for new messages/articles immediately if possible, only
postpone doing it if the template really uses the values of the message
headers
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.248
retrieving revision 1.249
diff -b -u -2 -r1.248 -r1.249
--- wxComposeView.cpp 25 Feb 2002 20:15:54 -0000 1.248
+++ wxComposeView.cpp 4 Mar 2002 18:01:08 -0000 1.249
@@ -1668,10 +1668,10 @@
}
- if ( m_template.empty() )
+ // if we can evaluate the template right now, do it
+ if ( !TemplateNeedsHeaders(m_template) )
{
- // this will only insert the sig
DoInitText(NULL);
}
- else // we have a template
+ else // we have a template involving the header values
{
// but we can't evaluate it yet because the headers values are
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates