diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index 5d3d8049d467..7f969ae24464 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -786,6 +786,11 @@ IMPL_LINK(ObjectInspectorTreeHandler, ToolbarButtonClicked, const OString&, rSel inspectObject(xInterface); } } + else if (rSelectionId == "refresh") + { + auto rPageId = mpObjectInspectorNotebook->get_current_page_ident(); + NotebookEnterPage(rPageId); + } } IMPL_LINK(ObjectInspectorTreeHandler, NotebookEnterPage, const OString&, rPageId, void) diff --git a/sfx2/uiconfig/ui/developmenttool.ui b/sfx2/uiconfig/ui/developmenttool.ui index b915d1f6f12d..8326083cde5a 100644 --- a/sfx2/uiconfig/ui/developmenttool.ui +++ b/sfx2/uiconfig/ui/developmenttool.ui @@ -426,7 +426,7 @@ True False - Back + Back Back True cmd/lc_prevrecord.png @@ -440,7 +440,7 @@ True False - Inspect + Inspect Inspect True cmd/lc_recsearch.png @@ -450,6 +450,20 @@ True + + + True + False + Refresh + Refresh + True + cmd/lc_reload.png + + + False + True + + False