mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk : Add placeholder text to line edit
This commit is contained in:
@@ -136,6 +136,11 @@ void PdmUiLineEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
{
|
||||
m_lineEdit->setMaximumWidth(leab.maximumWidth);
|
||||
}
|
||||
|
||||
if (!leab.placeholderText.isEmpty())
|
||||
{
|
||||
m_lineEdit->setPlaceholderText(leab.placeholderText);
|
||||
}
|
||||
}
|
||||
|
||||
bool fromMenuOnly = true;
|
||||
|
||||
Reference in New Issue
Block a user