diff --git a/ui/src/views/Rtty.vue b/ui/src/views/Rtty.vue index 7d3f9cb..5606efa 100644 --- a/ui/src/views/Rtty.vue +++ b/ui/src/views/Rtty.vue @@ -126,6 +126,11 @@ export default { fr.readAsArrayBuffer(blob); }, doUploadFile() { + if (!this.file.file) { + this.onUploadDialogClosed(); + return; + } + this.term.focus(); if (this.file.size > 0xffffffff) {