]> git.lyx.org Git - features.git/commitdiff
Correctly update after buffer-anonymize in branch.
authorPavel Sanda <sanda@lyx.org>
Sun, 2 Dec 2018 01:08:49 +0000 (02:08 +0100)
committerPavel Sanda <sanda@lyx.org>
Sun, 2 Dec 2018 01:08:49 +0000 (02:08 +0100)
In master the screen update after buffer-anonymize happens without screenUpdate.

src/Buffer.cpp

index 11968743573478a50c738dc329fd075d8ada5344..e572fb30a8be772eb095c10c4b98ef702eae5d7e 100644 (file)
@@ -2963,6 +2963,7 @@ void Buffer::dispatch(FuncRequest const & func, DispatchResult & dr)
                for ( ; cur ; cur.forwardPar())
                        cur.paragraph().anonymize();
                dr.forceBufferUpdate();
+               dr.screenUpdate(Update::Force);
                break;
        }