Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to properly clear the system clipboard when copying data
When copying binary data or similar using the internal copy-paste buffer we need to clear the system clipboard first in order to avoid confusion between the two paste sources. Just calling clear() on the clipboard doesn't seem to work on my system, so this commit manually sets the clipboard text to a null string.
- Loading branch information