More fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -303,7 +303,7 @@ VectorInput::~VectorInput()
|
||||
void VectorInput::setLabel(int index, const QString& label)
|
||||
{
|
||||
AZ_Warning("PropertyGrid", index < m_elementCount,
|
||||
"This control handles only %i controls", m_elementCount)
|
||||
"This control handles only %i controls", m_elementCount);
|
||||
if (index < m_elementCount)
|
||||
{
|
||||
m_elements[index]->setLabel(label);
|
||||
@@ -313,7 +313,7 @@ void VectorInput::setLabel(int index, const QString& label)
|
||||
void VectorInput::setLabelStyle(int index, const QString& qss)
|
||||
{
|
||||
AZ_Warning("PropertyGrid", index < m_elementCount,
|
||||
"This control handles only %i controls", m_elementCount)
|
||||
"This control handles only %i controls", m_elementCount);
|
||||
if (index < m_elementCount)
|
||||
{
|
||||
m_elements[index]->getLabelWidget()->setStyleSheet(qss);
|
||||
@@ -323,7 +323,7 @@ void VectorInput::setLabelStyle(int index, const QString& qss)
|
||||
void VectorInput::setValuebyIndex(double value, int elementIndex)
|
||||
{
|
||||
AZ_Warning("PropertyGrid", elementIndex < m_elementCount,
|
||||
"This control handles only %i controls", m_elementCount)
|
||||
"This control handles only %i controls", m_elementCount);
|
||||
if (elementIndex < m_elementCount)
|
||||
{
|
||||
m_elements[elementIndex]->setValue(value);
|
||||
|
||||
Reference in New Issue
Block a user