add dynamic language change support
add "en" ts
This commit is contained in:
@@ -88,11 +88,11 @@ void EvalSpinBox::resizeEvent(QResizeEvent * e) {
|
||||
|
||||
|
||||
void EvalSpinBox::changeEvent(QEvent * e) {
|
||||
QAbstractSpinBox::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
cw->setToolTip(tr("Clear"));
|
||||
return;
|
||||
}
|
||||
QAbstractSpinBox::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user