[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - starmath/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 5 18:48:02 UTC 2021
starmath/source/edit.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 61900f697dd7bb5161eb0e56d0cea87153efbb9b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 4 09:15:25 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 5 20:46:58 2021 +0200
tdf#141930 document set as unmodified if editengine didn't modify on keyevent
this appears to have always happened for cursor keys, and since
commit 0154f04e8c64df937b793c73ac58d553637f324f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 24 14:32:21 2021 +0000
Resolves: rhbz#1931423 start update timer in IM events as well as keyevents
also happens on Input Engine events which don't cause changes
Change-Id: Ic5cdd9ef4f1bed1cc2b2c17fc847f196a9c6e23a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114930
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
(cherry picked from commit 8e78b937fca92f5ed07383e69ceef71715a15fe1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115085
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index ae01f4144611..dad74ef95c2d 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -489,8 +489,8 @@ void SmEditWindow::UserPossiblyChangedText()
// cursor travelling and such things...
SmDocShell *pDocShell = GetDoc();
EditEngine *pEditEngine = GetEditEngine();
- if (pDocShell && pEditEngine)
- pDocShell->SetModified(pEditEngine->IsModified());
+ if (pDocShell && pEditEngine && pEditEngine->IsModified())
+ pDocShell->SetModified(true);
aModifyIdle.Start();
}
More information about the Libreoffice-commits
mailing list