diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-09-16 11:39:25 (GMT) |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-09-16 11:57:35 (GMT) |
commit | 922c87a3b8ab16b18b2f04c114f6d20ba12e4eb9 (patch) | |
tree | ea67de8de6119befb06cf3ce16b8f129af56bc3f /src/gui/widgets/qabstractplatformmenubar_p.h | |
parent | 5f0f5dd371cb5fbd1ae1cb8f7b6f03c0109d2d6c (diff) | |
download | Qt-922c87a3b8ab16b18b2f04c114f6d20ba12e4eb9.zip Qt-922c87a3b8ab16b18b2f04c114f6d20ba12e4eb9.tar.gz Qt-922c87a3b8ab16b18b2f04c114f6d20ba12e4eb9.tar.bz2 |
OSX: make QFileDialog::getSaveFileName honor the initial file name.
Since OSX 10.9 the NSSavePanel will call panelSelectionDidChange on the
delegate when the selection is changed programmatically, even when the
panel is not (yet) visible. This overwrites the selected file name
with the default "Untitled" before we'd set it in
runApplicationModalPanel. The fix is to check if panelSelectionDidChange
is called before it is shown.
Change-Id: I9ad6cd3afddc0aac35baebab31fd85cd7bf3f9e9
Task-number: QTBUG-36212
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/gui/widgets/qabstractplatformmenubar_p.h')
0 files changed, 0 insertions, 0 deletions