Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1224

QFileDialog::getSaveFileName to update the name field

    XMLWordPrintable

Details

    Description

      QFileDialog::getSaveFileNamed does not update the file extension when the user changes the selected filter.
      If the user types "foo.tif" in the "File name" field and then changes the filter to "*.jpg", it would be nice if the extension .tif would be removed from the file name. Currently, instead of leaving the name as "foo" without any extension, the file name still shows "foo.tif".

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes