diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-02-14 17:01:46 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-02-17 07:40:45 +0100 |
commit | 89b80daec907a456f08946dd9ebbc6efbd9b5391 (patch) | |
tree | 16c0bf4a4e55324174b7305370b2a39fa59e914e /sfx2 | |
parent | 99751473531c6d022c2089bf162901b41a616895 (diff) |
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@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
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; } } |