Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11727

"Remove file..." action on qrc content does not update project tree if file isn't removed from git, too

    XMLWordPrintable

Details

    Description

      When removing a file through the "Remove file..." context menu action for a qrc file in Projects pane the file still appears in the project tree.

      How to reproduce

      Create e.g. a new Qt Quick application, Qt Quick 2.2 component set.
      Create a git repo for the project, add all files in an inital commit
      Right-click on 'qml/main.qml' file, select "Remove file..."
      Confirm dialog whether to remove file, leave 'Delete file permanently' unchecked
      Click 'No' on "Version Control" dialog asking "Would you like to remove this file from the version control system (Git)?"

      What I expect

      The file is not deleted. However, it is removed from qrc, and also does not show up in Projects pane any more

      What happens

      The file is not deleted, and removed from qrc file. However, it still appears in the projects pane.

      Attachments

        Activity

          People

            dt Daniel Teske
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: