summaryrefslogtreecommitdiff
path: root/vcl/inc/jsdialog
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-05-01 18:52:03 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-05-02 07:47:49 +0200
commit79b1a61303af8dc8716c03151b28bfce13162eb0 (patch)
tree68159f58e6e79231cda8702ffe750a0c8f9c5f10 /vcl/inc/jsdialog
parent2a5fc2a414517bfcef164f527ef7ab1658fcef5d (diff)
jsdialog: fix updating on container "reorder_child" or "move"
The accessibility checker sidebar did not update properly when new issues were added or were removed. The accessiblity checker is adding and removing new widget parts (one for each new issues) to the grids, which is using "reorder_child" and "move" methods. If we call "reorder_child" with update, it fails in online as it doesn't find the parent "box" ("box_document" for example) because the id is not set properly. Doing a full update on "reorder_child" fixes the updating problem. Change-Id: Ia3032516a7cee0271f8b05b22e13dde2b7430e66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166962 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/jsdialog')
-rw-r--r--vcl/inc/jsdialog/jsdialogbuilder.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/jsdialog/jsdialogbuilder.hxx b/vcl/inc/jsdialog/jsdialogbuilder.hxx
index 2c544146dfad..7491582e1550 100644
--- a/vcl/inc/jsdialog/jsdialogbuilder.hxx
+++ b/vcl/inc/jsdialog/jsdialogbuilder.hxx
@@ -544,6 +544,8 @@ class JSContainer final : public JSWidget<SalInstanceContainer, vcl::Window>
public:
JSContainer(JSDialogSender* pSender, vcl::Window* pContainer, SalInstanceBuilder* pBuilder,
bool bTakeOwnership);
+
+ void move(weld::Widget* pWidget, weld::Container* pNewParent) override;
};
class JSScrolledWindow final : public JSWidget<SalInstanceScrolledWindow, ::VclScrolledWindow>