mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 18:11:44 +02:00
fixed message dialog bug
This commit is contained in:
parent
ea804578ce
commit
5ba89e67af
2 changed files with 3 additions and 3 deletions
|
@ -47,10 +47,10 @@ TabletModalWindow {
|
|||
property int icon: OriginalDialogs.StandardIcon.NoIcon
|
||||
property string iconText: ""
|
||||
property int iconSize: 50
|
||||
// onIconChanged: updateIcon();
|
||||
onIconChanged: updateIcon();
|
||||
property int defaultButton: OriginalDialogs.StandardButton.NoButton;
|
||||
property int clickedButton: OriginalDialogs.StandardButton.NoButton;
|
||||
//focus: defaultButton === OriginalDialogs.StandardButton.NoButton
|
||||
focus: defaultButton === OriginalDialogs.StandardButton.NoButton
|
||||
|
||||
property int titleWidth: 0
|
||||
onTitleWidthChanged: d.resize();
|
||||
|
|
|
@ -26,7 +26,7 @@ Item {
|
|||
Component { id: messageBoxBuilder; TabletMessageBox { } }
|
||||
function messageBox(properties) {
|
||||
openMessage = messageBoxBuilder.createObject(tabletRoot, properties);
|
||||
return openModal;
|
||||
return openMessage;
|
||||
}
|
||||
|
||||
function customInputDialog(properties) {
|
||||
|
|
Loading…
Reference in a new issue