Skip to content

Commit

Permalink
RibbonMessageGroup: Add the missing 'rounded' property for 'showMessa…
Browse files Browse the repository at this point in the history
…ge()'.
  • Loading branch information
mentalfl0w committed Aug 5, 2024
1 parent 01e20c3 commit c53aa3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib_source/qml/Qt5/RibbonMessageBarGroup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ RibbonBlur {
Window.window.messageBar = control
}

function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
externalURLLabel, disableMultiline, rounded){
let item = {}
if(type)
item['type'] = type
Expand All @@ -234,6 +235,8 @@ RibbonBlur {
item['externalURLLabel'] = externalURLLabel
if(disableMultiline)
item['disableMultiline'] = disableMultiline
if(rounded)
item['rounded'] = rounded
messageModel.append(item)
}

Expand Down
5 changes: 4 additions & 1 deletion lib_source/qml/Qt6/RibbonMessageBarGroup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ RibbonBlur {
Window.window.messageBar = control
}

function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
externalURLLabel, disableMultiline, rounded){
let item = {}
if(type)
item['type'] = type
Expand All @@ -234,6 +235,8 @@ RibbonBlur {
item['externalURLLabel'] = externalURLLabel
if(disableMultiline)
item['disableMultiline'] = disableMultiline
if(rounded)
item['rounded'] = rounded
messageModel.append(item)
}

Expand Down

0 comments on commit c53aa3b

Please sign in to comment.