aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/ContentHandler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 0d315d8e5..81e980657 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -377,7 +377,11 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
{
LaunchHelperApp ();
}
- else if (mAction != CONTENT_ACTION_NONE)
+ else if (mAction == CONTENT_ACTION_NONE)
+ {
+ mLauncher->Cancel ();
+ }
+ else
{
mLauncher->SaveToDisk (nsnull,PR_FALSE);
}