diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-11 22:44:34 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-12 07:55:59 +0000 |
commit | 4a981527124b628fbd05f3d8d6462a2b20bb9567 (patch) | |
tree | 30f3e7d9cda1d5d971361e0e4dc561e6daccf5f7 /examples | |
parent | fcf4a1ed81c547f24384e005e9776f478161c616 (diff) |
texteditor: fix the file dialog name filters
OS X interpreted the suffix literally ".html,"
Change-Id: Icdf889592e4457db5dd4ffd420501b890cbcfd27
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/texteditor/qml/texteditor.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/texteditor.qml b/examples/quickcontrols2/texteditor/qml/texteditor.qml index cac5a66d..1188686b 100644 --- a/examples/quickcontrols2/texteditor/qml/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml @@ -162,7 +162,7 @@ ApplicationWindow { FileDialog { id: openDialog fileMode: FileDialog.OpenFile - nameFilters: ["Text files (*.txt)", "HTML files (*.html, *.htm)"] + nameFilters: ["Text files (*.txt)", "HTML files (*.html *.htm)"] onFileSelected: document.fileUrl = file } |