BF 3142998 - CButton.setToolTipText(null) change button text and size
This commit is contained in:
parent
fb189f010c
commit
278febbefb
|
@ -276,7 +276,8 @@ public class CButton extends JButton implements CEditor {
|
||||||
*/
|
*/
|
||||||
public void setToolTipText(String text) {
|
public void setToolTipText(String text) {
|
||||||
if (text == null) {
|
if (text == null) {
|
||||||
super.setText(text);
|
//super.setText(text); Angelo Dabala' (genied) fixed, was calling the wrong method
|
||||||
|
super.setToolTipText(text);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int pos = text.indexOf('&');
|
int pos = text.indexOf('&');
|
||||||
|
|
Loading…
Reference in New Issue