AppFwk : Fixed invalid else statement

This commit is contained in:
Magne Sjaastad 2017-01-26 12:13:03 +01:00
parent 6528d243fe
commit a95adf4167

View File

@ -93,7 +93,8 @@ void PdmUiPushButtonEditor::configureAndUpdateUi(const QString& uiConfigName)
{
m_pushButton->setIcon(attributes.m_buttonIcon);
}
else if (!attributes.m_buttonText.isEmpty())
if (!attributes.m_buttonText.isEmpty())
{
m_pushButton->setText(attributes.m_buttonText);
}