From be10ba352f2a89bc5ec816eefc307a4ae2f7ff6b Mon Sep 17 00:00:00 2001 From: conber Date: Sat, 15 Jun 2002 20:53:53 +0000 Subject: fixed abort bug --- (limited to 'noncore/unsupported/mail2') diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp index 03d50b6..57f0779 100644 --- a/noncore/unsupported/mail2/composer.cpp +++ b/noncore/unsupported/mail2/composer.cpp @@ -120,6 +120,7 @@ void Composer::slotSendMail() QString header, message; MailFactory::genMail(header, message, smail, this); + if (header.isNull() || message.isNull()) return; // Aborted. abort->setEnabled(true); -- cgit v0.9.0.2