From 70425fed526fe47f12db45a034ae9c4c1d1fd100 Mon Sep 17 00:00:00 2001 From: Till Theato Date: Fri, 27 Aug 2010 18:59:06 +0000 Subject: [PATCH] When closing Kdenlive without it being visible (for example via right click on panel), raise the window so one can answer the "save changes" dialog svn path=/trunk/kdenlive/; revision=4766 --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a42dbfb8..34b6f120 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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?"); -- 2.39.5