Kaydet (Commit) 1fb8724f authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

fdo#83558 Don't change toolbar tooltip on state change

Also removed EraseAllMnemonicChars since that method is called later by SetItemText

Change-Id: I10139d437290ccfed6a8a15e8e5ce501e15c2560
Reviewed-on: https://gerrit.libreoffice.org/11306Reviewed-by: 's avatarSamuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: 's avatarSamuel Mehrbrodt <s.mehrbrodt@gmail.com>
üst aa33dd16
...@@ -243,9 +243,7 @@ throw ( RuntimeException, std::exception ) ...@@ -243,9 +243,7 @@ throw ( RuntimeException, std::exception )
aTmp += aStrValue.copy( 4 ); aTmp += aStrValue.copy( 4 );
aStrValue = aTmp; aStrValue = aTmp;
} }
OUString aText( MnemonicGenerator::EraseAllMnemonicChars( aStrValue ) ); m_pToolbar->SetItemText( m_nID, aStrValue );
m_pToolbar->SetItemText( m_nID, aText );
m_pToolbar->SetQuickHelpText( m_nID, aText );
} }
if ( m_bMadeInvisible ) if ( m_bMadeInvisible )
......
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