aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 3670118..1980c5e 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -424,9 +424,11 @@ void GpgWin::createDockWindows()
void GpgWin::closeEvent(QCloseEvent *event)
{
- /** ask to save changes, if text modified
+ /**
+ * ask to save changes, if there are
+ * modified documents in any tab
*/
- if (edit->maybeSave()) {
+ if (edit->maybeSaveAnyTab()) {
saveSettings();
event->accept();
} else {