Skip to content

Cannot Hide hidden files more than once. #2

Open
@LinArcX

Description

@LinArcX

Hi. i add an image to your qml file to show/hide files:

      Image {
           id: btnShowHidden
           source: "qrc://test.png"
           sourceSize.width: 30
           sourceSize.height: 30
           anchors.right: btnUp.left
           anchors.rightMargin: buttonHeight
           anchors.verticalCenter: parent.verticalCenter
           enabled: true
           onImageClicked: {
               if ( folderListModel.showHidden) {
                   folderListModel.showHidden = false
               } else {
                   folderListModel.showHidden = true
               }
           }
       }

But it works once. i mean if you show hidden files you can't after that hide them. Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions