vcl/source/app/salvtables.cxx |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

New commits:
commit 236419fb117ce8cd96d181f0b1050d7bb6020a06
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Sep 30 16:08:25 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Oct 1 15:43:40 2021 +0200

    Resolves: tdf#140992 Paste/Cut should mark Edit as modified
    
    Change-Id: Id56b5bf2e922394da7e730f4bab652808253c54e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122857
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index ad46c0035e95..3638db349676 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -3360,11 +3360,19 @@ Edit& SalInstanceEntry::getEntry() { return *m_xEntry; }
 
 void SalInstanceEntry::fire_signal_changed() { signal_changed(); }
 
-void SalInstanceEntry::cut_clipboard() { m_xEntry->Cut(); }
+void SalInstanceEntry::cut_clipboard()
+{
+    m_xEntry->Cut();
+    m_xEntry->Modify();
+}
 
 void SalInstanceEntry::copy_clipboard() { m_xEntry->Copy(); }
 
-void SalInstanceEntry::paste_clipboard() { m_xEntry->Paste(); }
+void SalInstanceEntry::paste_clipboard()
+{
+    m_xEntry->Paste();
+    m_xEntry->Modify();
+}
 
 namespace
 {

Reply via email to