mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-17 04:08:54 +00:00
desktop: fix clipboard paste
This commit is contained in:
@@ -29,6 +29,6 @@ impl PlatformCallbacks for Desktop {
|
||||
|
||||
fn get_string_from_buffer(&self) -> String {
|
||||
let mut clipboard = arboard::Clipboard::new().unwrap();
|
||||
clipboard.get_text().unwrap()
|
||||
clipboard.get_text().unwrap_or("".to_string())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user