mirror of
https://github.com/redstrate/Auracite.git
synced 2025-05-08 19:47:45 +00:00
Improve the message banner on the desktop version
Now it's closable, and it hides itself the next time you try to archive a character.
This commit is contained in:
parent
6f99f2974f
commit
a779778f9c
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
position: Kirigami.InlineMessage.Position.Header
|
||||
actions: type === Kirigami.MessageType.Information ? [openArchiveAction] : []
|
||||
showCloseButton: true
|
||||
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
@ -104,6 +105,7 @@ Kirigami.ApplicationWindow {
|
|||
text: i18nc("@action:button", "Archive")
|
||||
enabled: inputField.text.length > 0
|
||||
onClicked: {
|
||||
messageBanner.visible = false;
|
||||
fileDialog.selectedFile = inputField.text;
|
||||
fileDialog.open();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue