diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-01-09 13:34:39 +0100 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2024-01-10 12:32:31 +0100 |
commit | 9df028306fa75726eeda491f4d643d2a1073b33f (patch) | |
tree | 026f3c50ca1615f0f122fa855de80dde52f2e3dc /sc/source/ui/navipi | |
parent | b97a4df392ef03c6cbe23f7703fd4f55827ee71d (diff) |
tdf#158763 Focus the document after clicking Edit Comment
This patch is needed to make the gtk3 backend focus the document after the Edit Comment is clicked in the Navigator sidebar.
It already worked in gen and kf5.
Change-Id: Ic46be72e6ee7df71f2031e1c6b5f0bf153a8a8c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161765
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 9e1cc51afd44..6c472e97dc2e 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -629,6 +629,7 @@ IMPL_LINK(ScContentTree, CommandHdl, const CommandEvent&, rCEvt, bool) GetManualOrCurrent()->GetDocFunc().ShowNote(aPos, true); ScTabViewShell* pScTabViewShell = ScNavigatorDlg::GetTabViewShell(); pScTabViewShell->EditNote(); + bDone = true; } } } |