summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-01-09 14:47:35 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2024-01-29 11:57:11 +0100
commitfb280f3a55279fe7777239e481162730fee99e85 (patch)
tree790d438263e3a3db358866411382887a8f6c74c2 /vcl
parentd48d8a41699f5a4d3cfad5d924ed9dd4ed628fcd (diff)
lok: notebookbar: enable currency dropdown
Add .uno:NumberFormatCurrency item to .ui Use weld:: way of widgets creation so we can inject jsdialog code and popup will be correctly registered. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ib57e1cad617ca5c7198d67e107441ba062580f06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161829 (cherry picked from commit 91df0cafa87692b5c924c44b9c7adf4a8d6f3e34) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162623
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/WeldedTabbedNotebookbar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/WeldedTabbedNotebookbar.cxx b/vcl/source/control/WeldedTabbedNotebookbar.cxx
index 1a3311de9f5b..1b9eef3756e0 100644
--- a/vcl/source/control/WeldedTabbedNotebookbar.cxx
+++ b/vcl/source/control/WeldedTabbedNotebookbar.cxx
@@ -18,6 +18,7 @@ WeldedTabbedNotebookbar::WeldedTabbedNotebookbar(
pContainerWindow, AllSettings::GetUIRootDir(), rUIFilePath, rFrame, nWindowId))
{
m_xContainer = m_xBuilder->weld_container("NotebookBar");
+ m_xWeldedToolbar = m_xBuilder->weld_toolbar("WeldedToolbar");
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */