Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10172

Renaming material inserts two entries to undo stack despite it being done inside transaction

    XMLWordPrintable

Details

    • 1
    • QDS Oulu - 2023 Week 25/26

    Description

      When renaming materials, objectName and id change are both done inside same transaction, but for some reason both are generated as separate undo steps.

      Looks like the culprit is setIdWithRefactoring, which seems to bypass the transaction and directly commit the changes it does. However, this method is also used elsewhere inside transactions without causing duplicate undo stack items.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes