fix(copy-paste): fix message on clipboard clear (#1838)
* Clear clipboard function was calling utils to notify when the clipboard was cleared * This produced a nil value error * Replaced with notify
This commit is contained in:
parent
29788cc32a
commit
e0cfbbb93d
@ -132,7 +132,7 @@ end
|
||||
function M.clear_clipboard()
|
||||
clipboard.move = {}
|
||||
clipboard.copy = {}
|
||||
utils.notify.info "Clipboard has been emptied."
|
||||
notify.info "Clipboard has been emptied."
|
||||
end
|
||||
|
||||
function M.copy(node)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user