]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
Several effect fixes (mostly track effect issues)
[kdenlive] / src / mainwindow.cpp
index a42dbfb8521269cb153deac66986f4d6e1c052b2..592627b3bdbc4f51a19002fca11f3d03d2bc473f 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?");
@@ -1702,7 +1704,7 @@ bool MainWindow::saveFileAs()
     }
     if (QFile::exists(outputFile)) {
         // Show the file dialog again if the user does not want to overwrite the file
-        if (KMessageBox::questionYesNo(this, i18n("File already exists.\nDo you want to overwrite it?")) == KMessageBox::No)
+        if (KMessageBox::questionYesNo(this, i18n("File %1 already exists.\nDo you want to overwrite it?", outputFile)) == KMessageBox::No)
             return saveFileAs();
     }
     return saveFileAs(outputFile);