sc/source/ui/navipi/content.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9df028306fa75726eeda491f4d643d2a1073b33f
Author: Rafael Lima <[email protected]>
AuthorDate: Tue Jan 9 13:34:39 2024 +0100
Commit: Rafael Lima <[email protected]>
CommitDate: Wed Jan 10 12:32:31 2024 +0100
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 <[email protected]>
Reviewed-by: Rafael Lima <[email protected]>
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;
}
}
}