[Libreoffice-commits] core.git: sfx2/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 17 06:41:23 UTC 2020
sfx2/source/view/viewfrm.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit 89b80daec907a456f08946dd9ebbc6efbd9b5391
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Fri Feb 14 17:01:46 2020 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Feb 17 07:40:45 2020 +0100
Don't display reload as toggle command
File->Reload was displayed with a checkbox, suggesting the command would toggle something.
Of course it does not.
So remove this code which makes the command appear as toggle command.
Change-Id: I5dd87fd82524e211e0d3444b14bc22dc4469de2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88731
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 4d697710c0af..3534e2b889aa 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -931,13 +931,6 @@ void SfxViewFrame::StateReload_Impl( SfxItemSet& rSet )
{
if ( !pSh->CanReload_Impl() || pSh->GetCreateMode() == SfxObjectCreateMode::EMBEDDED )
rSet.DisableItem(nWhich);
- else
- {
- // If any ChildFrame is reloadable, the slot is enabled,
- // so you can perform CTRL-Reload
- rSet.Put( SfxBoolItem( nWhich, false));
- }
-
break;
}
}
More information about the Libreoffice-commits
mailing list