Hopefully this stops any crashes around QuickActions.qml and EmojiDialog.qml
Hopefully this stops any crashes around QuickActions.qml and EmojiDialog.qml. Best I can guess this is some race condition where QuickActions are deleted in the time it takes to instnatiate the EmojiDialog popup. I've also rearranged the updateQuickActions function to stop a possible race condition there. BUG: 509484
This commit is contained in:
committed by
Tobias Fella
parent
1070427a0d
commit
7356a68f4c
@@ -33,6 +33,7 @@ RowLayout {
|
||||
icon.name: "preferences-desktop-emoticons"
|
||||
display: QQC2.ToolButton.IconOnly
|
||||
onClicked: {
|
||||
root.reacting = true;
|
||||
var dialog = emojiDialog.createObject(reactButton);
|
||||
dialog.chosen.connect(emoji => {
|
||||
root.reacting = false;
|
||||
@@ -44,7 +45,6 @@ RowLayout {
|
||||
dialog.closed.connect(() => {
|
||||
root.reacting = false;
|
||||
})
|
||||
root.reacting = true;
|
||||
dialog.open();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user