Fix copying event when no selection or focused
This commit is contained in:
@@ -210,7 +210,7 @@ HColumnLayout {
|
||||
qsTr("Copy text")
|
||||
|
||||
onTriggered: {
|
||||
if (! eventList.selectedCount && eventList.currentItem === -1){
|
||||
if (! eventList.selectedCount && ! eventList.currentItem){
|
||||
Clipboard.text = JSON.parse(model.source).body
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user