Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 16.0.0
-
84598c7d0 (17.0)
Description
Steps to reproduce:
1. Create a project in Qt Creator. Type of project is irrelevant, but make sure it is put under version control by Git
2. From the project view, right click on a source file and choose "remove"
3. Do no check "Delete file permanently", and proceed
4. QtC warns about "this might remove the local file"
5. Ignore, click "Yes"
Expected outcome:
Since user does not tell QtC to permanently delete the file, then it shouldnt.
Actual output:
QtC executes "git rm" and the local file is gone permanently
Temporary workaround:
Go to CMakeLists.txt (CMake) or .pro file (Qmake) and remove files from there. It's going to remove the file from project without affecting actual file.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-18997 Improve remove file from project
-
- Open
-