Kaydet (Commit) 00e80df8 authored tarafından Noel Power's avatar Noel Power Kaydeden (comit) Fridrich Strba

make sure basic IDE cut/copy buttons on toolbar are refreshed fdo#30545

Change-Id: I483469f0b76ade7fb107c6f4ae5c28a4b03877b1
(cherry picked from commit 56f30adf)
Reviewed-on: https://gerrit.libreoffice.org/2708Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 4fa33965
......@@ -745,6 +745,14 @@ void EditorWindow::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
{
DoDelayedSyntaxHighlight( rTextHint.GetValue() );
}
else if( rTextHint.GetId() == TEXT_HINT_VIEWSELECTIONCHANGED )
{
if (SfxBindings* pBindings = GetBindingsPtr())
{
pBindings->Invalidate( SID_CUT );
pBindings->Invalidate( SID_COPY );
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment