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

QFileDialog cannot open new directory for saving

    XMLWordPrintable

Details

    Description

      In a QFileDialog open in a mode to select directory for saving,
      If one enter the name of a not existing directory the "save" button stay disabled and it's not possible to validate because "the directory doesn't exist"
      But that's not an expected behaviour if one want to create the new directory with this name.

      #include <QtGui>
      int main ( int argc,  char **argv)
      {
          QApplication app(argc, argv);
          QFileDialog rms_fdg;
          rms_fdg.setFileMode(QFileDialog::Directory);
          rms_fdg.setAcceptMode(QFileDialog::AcceptSave);
          return rms_fdg.exec();
      }
      

      Attachments

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

        Activity

          People

            menard Alexis Menard (closed Nokia identity) (Inactive)
            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes