summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qfiledialog_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/dialogs/qfiledialog_mac.mm b/src/gui/dialogs/qfiledialog_mac.mm
index 5628d06..982d5e6 100644
--- a/src/gui/dialogs/qfiledialog_mac.mm
+++ b/src/gui/dialogs/qfiledialog_mac.mm
@@ -228,6 +228,8 @@ QT_USE_NAMESPACE
*mCurrentSelection = QT_PREPEND_NAMESPACE(qt_mac_NSStringToQString)([mSavePanel filename]);
if ([mSavePanel respondsToSelector:@selector(close)])
[mSavePanel close];
+ if ([mSavePanel isSheet])
+ [NSApp endSheet: mSavePanel];
}
- (void)showModelessPanel