sfx2/source/view/viewfrm.cxx | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit 89b80daec907a456f08946dd9ebbc6efbd9b5391 Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> AuthorDate: Fri Feb 14 17:01:46 2020 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@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.mehrbr...@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; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits