Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Hide hidden files more than once. #2

Open
LinArcX opened this issue May 29, 2019 · 1 comment
Open

Cannot Hide hidden files more than once. #2

LinArcX opened this issue May 29, 2019 · 1 comment

Comments

@LinArcX
Copy link

LinArcX commented May 29, 2019

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?

@dobokirisame
Copy link
Owner

Hello, LinArcX.
It seem to be a Qt bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants