MappingButton: don't set text twice in constructor
This commit is contained in:
parent
07c90bed08
commit
b378ffb4ec
|
@ -19,7 +19,6 @@
|
|||
MappingButton::MappingButton(MappingWidget* widget, ControlReference* ref)
|
||||
: QPushButton(QString::fromStdString(ref->expression)), m_parent(widget), m_reference(ref)
|
||||
{
|
||||
setText(QString::fromStdString(m_reference->expression));
|
||||
Connect();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue