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

"Undo Changes" wants to save unrelated file

    XMLWordPrintable

Details

    Description

      1. Open a file from a git repository.
      2. Change and save that file.
      3. Open a completely unrelated file (no project, outside any repository).
      4. Change this file but do not save it.
      5. Go back to the first file.
      6. Select "Tools" -> "Git" -> "Current File" -> "Undo Uncommitted Changes for <filename>" from the menu.
        Creator will show a popup stating that the second file has unsaved changes.

      This does not matter in this situation. Creator should ask for confirmation and revert the changes in the first file. It should not touch the other file at all.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-15622
        # Subject Branch Project Status CR V

        Activity

          People

            orgads Orgad Shaneh
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes