Revision: 7511
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7511&view=rev
Author:   vadz
Date:     2008-08-05 16:21:49 +0000 (Tue, 05 Aug 2008)

Log Message:
-----------
don't crash if PGP controls are disabled

Modified Paths:
--------------
    trunk/M/src/gui/wxComposeView.cpp

Modified: trunk/M/src/gui/wxComposeView.cpp
===================================================================
--- trunk/M/src/gui/wxComposeView.cpp   2008-08-05 14:51:34 UTC (rev 7510)
+++ trunk/M/src/gui/wxComposeView.cpp   2008-08-05 16:21:49 UTC (rev 7511)
@@ -4698,7 +4698,7 @@
    // -----------------------
 
    // cryptographically sign the message if configured to do it
-   if ( m_chkPGPSign->GetValue() )
+   if ( m_chkPGPSign && m_chkPGPSign->GetValue() )
    {
       msg->EnableSigning(m_txtPGPSignAs->GetValue());
    }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to