Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6902

Cleanup Undo/Redo handling code in MSA Editor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Epic Link:
    • Sprint:
      DEV-37-4
    • Affect Type:
      Userdefined

      Description

      Undo/redo framework  sends modification info to updateCachedMultipleAlignment like this:

      MaModificationInfo modInfo;
      modInfo.type = MaModificationType_Undo;
      maObj->updateCachedMultipleAlignment(modInfo);

      But does not set any modification flags, so modification info is not correct.

      The correct and the simplest solution is always to call loadAlignment (reload the cached alignment) completely in case of undo-redo call.

       

        Attachments

          Activity

            People

            Assignee:
            yalgaer Yuliya Algaer
            Reporter:
            yalgaer Yuliya Algaer
            Assigned Tester:
            Yuliya Algaer
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: