mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-04-20 20:01:51 +02:00
try getData(DataFlavor.getTextPlainUnicodeFlavor())
This commit is contained in:
parent
5c9c13abcd
commit
4f2a5095bd
@ -34,7 +34,7 @@ class ClipboardUtils {
|
||||
return (String) Toolkit
|
||||
.getDefaultToolkit()
|
||||
.getSystemClipboard()
|
||||
.getData(DataFlavor.stringFlavor);
|
||||
.getData(DataFlavor.getTextPlainUnicodeFlavor());
|
||||
} catch (IllegalStateException e) {
|
||||
e.printStackTrace();
|
||||
logger.error("Caught and recovered from IllegalStateException: " + e.getMessage());
|
||||
|
Loading…
x
Reference in New Issue
Block a user