Add debug logging for copy to clipboard
This commit is contained in:
parent
0a9b57621d
commit
813ee58fd3
@ -1950,8 +1950,10 @@ class BooruApp(QMainWindow):
|
|||||||
if cp.exists():
|
if cp.exists():
|
||||||
path = str(cp)
|
path = str(cp)
|
||||||
if not path or not Path(path).exists():
|
if not path or not Path(path).exists():
|
||||||
|
log.debug(f"Copy failed: path={path} preview_path={self._preview._current_path}")
|
||||||
self._status.showMessage("Nothing to copy")
|
self._status.showMessage("Nothing to copy")
|
||||||
return
|
return
|
||||||
|
log.debug(f"Copying: {path}")
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
_IMAGE_EXTS = {".jpg", ".jpeg", ".png", ".gif", ".webp"}
|
_IMAGE_EXTS = {".jpg", ".jpeg", ".png", ".gif", ".webp"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user