summaryrefslogtreecommitdiff
path: root/starmath/inc/view.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-09-07 19:19:56 +0300
committerخالد حسني <khaled@libreoffice.org>2023-09-07 23:54:46 +0200
commitbeaea2e992912b4747d790070b26371f557b1f57 (patch)
tree23ca11e34fd3584aebe16b7c206b42682e2afde2 /starmath/inc/view.hxx
parentb7a5c2502434d3da92d1fbcad528cabeb61a2719 (diff)
starmath: Properly update the state to copy/cut/paste buttons
Invalidate the slots explicitly instead of implicitly by updating the edit window. Followup to: commit 065609f86f730d4eedc6b7ae28382dc7daea11ac Author: Khaled Hosny <khaled@libreoffice.org> Date: Mon Sep 4 13:22:04 2023 +0300 starmath: Make cut/copy/paste buttons work with inline editing Change-Id: If0648c249d6145475202e1a48364d7fe142a5e35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156674 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'starmath/inc/view.hxx')
-rw-r--r--starmath/inc/view.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 4a79b94e4f02..a896cd41bf2d 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -321,6 +321,8 @@ public:
void SendCaretToLOK() const;
+ void InvalidateSlots();
+
private:
/// SfxInterface initializer.
static void InitInterface_Impl();