[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 12 14:39:40 UTC 2021
sc/source/ui/view/tabcont.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e1dbdfc133a81eb065fb1426a2bd0f36244f5346
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 12 11:01:12 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Mar 12 15:38:50 2021 +0100
document how this ScTabControl::AllowRenaming condition can be reached
Change-Id: I127329794852c90edb3eceddf4974b2be7924362
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112382
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 2bb97d065cf8..c96f3424a511 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -625,6 +625,9 @@ TabBarAllowRenamingReturnCode ScTabControl::AllowRenaming()
{
// don't show error message above any modal dialog
// instead cancel renaming without error message
+ // e.g. start with default Sheet1, add another sheet
+ // alt+left click on Sheet2 tab, edit to say Sheet1
+ // ctrl+S to trigger modal file save dialog
nRet = TABBAR_RENAMING_CANCEL;
}
else
More information about the Libreoffice-commits
mailing list