diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-10 00:11:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-10 00:11:47 +0200 |
commit | f3e7dc127b3d0446bbee2106df110bbfc4df2171 (patch) | |
tree | 433b987073874e633f1c48e8b6b26d1624c727d0 /src/SearchBar.cpp | |
parent | 541180dd46c53f8d80273a92543f2d217a36bf81 (diff) |
Matrix: support uploading files from clipboard (direct image data, png, jpg, gif)
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r-- | src/SearchBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp index b10ed6a..52e75e6 100644 --- a/src/SearchBar.cpp +++ b/src/SearchBar.cpp @@ -119,7 +119,7 @@ namespace QuickMedia { else if(event.type == mgl::Event::KeyReleased && event.key.code == mgl::Keyboard::Backspace) backspace_pressed = false; if(event.type == mgl::Event::KeyPressed && event.key.code == mgl::Keyboard::V && event.key.control) { - append_text(window.get_clipboard()); + append_text(window.get_clipboard_string()); } if(event.type == mgl::Event::KeyPressed && event.key.code == mgl::Keyboard::D && event.key.control) { |