Fixed crash on move selection. 4.6#29525
Conversation
88e59d1 to
26a34ed
Compare
26a34ed to
949df6a
Compare
| currElem = isLeftDirection ? mb->prevElementStaff(si, currElem) : mb->nextElementStaff(si, currElem); | ||
| } | ||
|
|
||
| if (!currElem) { |
There was a problem hiding this comment.
The problem was that currElem could become null, and we called the method (currElem->findAncestor(ElementType::VBOX)) on a null pointer in while
|
Hmm, I already tried this in #26726 but apparently it didn't work (I could never repro locally) |
|
@mathesoncalum It looks like you only had the check that Igor added as an |
The problem is not that it can be null when calling the function |
|
@cbjeukendrup @igorkorsukov Ahh yes - I misread. Thanks! |
|
Tested #25814 on Win10, Mac13.7.2, LinuxUbuntu24.04.3 LTS - FIXED |
Resolves: #25814