aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 1a67509..97eb939 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -6792,7 +6792,7 @@ namespace QuickMedia {
if(tmp_file != -1)
clipboard_text = tmp_filename;
- if(clipboard_success)
+ if(clipboard_success && !clipboard_text.empty() && get_file_type(clipboard_text) == FileType::REGULAR)
upload_file(clipboard_text);
if(tmp_file != -1) {