diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-10 03:51:01 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-10 03:51:01 +0200 |
commit | 1c150eeb1d530e19976c945e69410c0cf26a3cb0 (patch) | |
tree | f9f93f306c67b6be28b22baff1090bcc6790a1c4 | |
parent | f3e7dc127b3d0446bbee2106df110bbfc4df2171 (diff) |
Fix clipboard images for gnome screenshot
m--------- | depends/mglpp | 0 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/depends/mglpp b/depends/mglpp -Subproject 7c83c7093beaa8ac4409f5d3ac3819d25222744 +Subproject 6fdf4592dac2f6cf37e4cc8794a78bf0372208b 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) { |