<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -97,6 +97,7 @@ DownloadItem::DownloadItem(QNetworkReply *reply, bool requestFileName, QWidget *
     , m_startedSaving(false)
     , m_finishedDownloading(false)
     , m_gettingFileName(false)
+    , m_canceledFileSelect(false)
 {
     setupUi(this);
     QPalette p = downloadInfoLabel-&gt;palette();
@@ -171,6 +172,7 @@ void DownloadItem::getFileName()
             progressBar-&gt;setVisible(false);
             stop();
             fileNameLabel-&gt;setText(tr(&quot;Download canceled: %1&quot;).arg(QFileInfo(defaultFileName).fileName()));
+            m_canceledFileSelect = true;
             return;
         }
         QFileInfo fileInfo = QFileInfo(fileName);
@@ -537,6 +539,9 @@ void DownloadManager::handleUnsupportedContent(QNetworkReply *reply, bool reques
     DownloadItem *item = new DownloadItem(reply, requestFileName, this);
     addItem(item);
 
+    if (item-&gt;m_canceledFileSelect)
+        return;
+
     if (!isVisible())
         show();
 </diff>
      <filename>src/downloadmanager.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -119,7 +119,10 @@ private:
     bool m_startedSaving;
     bool m_finishedDownloading;
     bool m_gettingFileName;
+    bool m_canceledFileSelect;
     QTime m_lastProgressTime;
+
+    friend class DownloadManager;
 };
 
 class AutoSaver;</diff>
      <filename>src/downloadmanager.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c7eb8f26533772d28cb59d7d914a5dfd28009061</id>
    </parent>
  </parents>
  <author>
    <name>Christopher Eby</name>
    <email>kreed@kreed.org</email>
  </author>
  <url>http://github.com/icefox/arora/commit/2ff3d4563da7710d55073001eb7cdf7c10c581f4</url>
  <id>2ff3d4563da7710d55073001eb7cdf7c10c581f4</id>
  <committed-date>2009-10-15T19:26:31-07:00</committed-date>
  <authored-date>2009-10-11T11:44:38-07:00</authored-date>
  <message>Don't show the download manager if file selection was canceled

Issue 716</message>
  <tree>595ea6101cb17ff21e36e10ccf92ef4ea2f20a33</tree>
  <committer>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </committer>
</commit>
