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

FileDialog property files is never cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.12.4
    • Quick: Controls 2
    • Linux KDE Plasma 5.16.4
    • Linux/X11

      I have a FileDialog with fileMode: Labs.FileDialog.OpenFiles. The onAccepted handler does basically console.log(files). When I open the dialog multiple times then both files and currentFiles not only contain the elements just selected, but also all elements selected in all previous runs.

        1. MinimalExample.qml
          0.5 kB
          Fabian Kosmale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes