]> git.sesse.net Git - kdenlive/commitdiff
When closing Kdenlive without it being visible (for example via right click on panel...
authorTill Theato <root@ttill.de>
Fri, 27 Aug 2010 18:59:06 +0000 (18:59 +0000)
committerTill Theato <root@ttill.de>
Fri, 27 Aug 2010 18:59:06 +0000 (18:59 +0000)
svn path=/trunk/kdenlive/; revision=4766

src/mainwindow.cpp

index a42dbfb8521269cb153deac66986f4d6e1c052b2..34b6f1201c7552acb59907c2c7708232a70a32a1 100644 (file)
@@ -521,6 +521,8 @@ bool MainWindow::queryClose()
     if (m_activeDocument && m_activeDocument->isModified() &&
             ((m_projectList->documentClipList().isEmpty() && !m_activeDocument->url().isEmpty()) ||
              !m_projectList->documentClipList().isEmpty())) {
+        raise();
+        activateWindow();
         QString message;
         if (m_activeDocument->url().fileName().isEmpty())
             message = i18n("Save changes to document?");