diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-01-15 18:08:12 +0100 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-01-23 12:11:33 +0100 |
commit | d9d9ec70395ed5ad8ac4b985b8c9215af7436258 (patch) | |
tree | abf3b42d61c4b0b070c1565a845b070aa80eae2c /basctl/source/basicide/basidesh.cxx | |
parent | 4377341dd287b863573bb40ed77e2e2caa92b358 (diff) |
tdf#158749 Open "Go to Line" dialog from the statusbar in Basic IDE
With this change, if the user clicks the StatusGetPosition item in the status bar, the Go To Line dialog will be shown.
Change-Id: Iba75e2dbf6ba83fce24e1af237bdf9813d4ecb69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162108
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 420a51a2de8b..c478d80fdf81 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -76,6 +76,7 @@ #include <cppuhelper/implbase.hxx> #include <BasicColorConfig.hxx> #include <officecfg/Office/BasicIDE.hxx> +#include <LineStatusControl.hxx> namespace basctl { @@ -193,6 +194,7 @@ void Shell::Init() LibBoxControl::RegisterControl( SID_BASICIDE_LIBSELECTOR ); LanguageBoxControl::RegisterControl( SID_BASICIDE_CURRENT_LANG ); SvxZoomSliderControl::RegisterControl( SID_ATTR_ZOOMSLIDER ); + LineStatusControl::RegisterControl(SID_BASICIDE_STAT_POS); GetViewFrame().GetWindow().SetBackground( GetViewFrame().GetWindow().GetSettings().GetStyleSettings().GetWindowColor() |