From 3c279b292dee62819a353d3126e97691746f0068 Mon Sep 17 00:00:00 2001 From: Andreas Traczyk Date: Tue, 4 Mar 2025 14:10:40 -0500 Subject: [PATCH] SimpleMessageDialog.qml: use var for buttonRoles In practice, the QML engine fails to set arrays of non-variant types when creating QML components dynamically. Gitlab: #1934 Change-Id: I5e9c0e73dd35c088bdaf070e04cf73c009ea9099 --- src/app/commoncomponents/SimpleMessageDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/commoncomponents/SimpleMessageDialog.qml b/src/app/commoncomponents/SimpleMessageDialog.qml index 01e6412e..e6a25e8c 100644 --- a/src/app/commoncomponents/SimpleMessageDialog.qml +++ b/src/app/commoncomponents/SimpleMessageDialog.qml @@ -35,7 +35,7 @@ BaseModalDialog { property var buttonStyles: [] property string infoText: "" property var innerContentData: [] - property int buttonRoles: [] + property var buttonRoles: [] function openWithParameters(title, info = "") { root.title = title;