Skip to content

Commit 0f89270

Browse files
committed
qmlui: fix VC widget matrix creation for all languages
1 parent 0ceab1e commit 0f89270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qmlui/virtualconsole/vcframe.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ void VCFrame::addWidgetMatrix(QQuickItem *parent, QString matrixType, QPoint pos
438438

439439
for (int col = 0; col < matrixSize.width(); col++)
440440
{
441-
frame->addWidget(nullptr, matrixType == "buttonmatrix" ? typeToString(ButtonWidget) : typeToString(SliderWidget), QPoint(xPos, yPos));
441+
frame->addWidget(nullptr, matrixType == "buttonmatrix" ? "Button" : "Slider", QPoint(xPos, yPos));
442442
xPos += widgetSize.width();
443443
}
444444
yPos += widgetSize.height();

0 commit comments

Comments
 (0)