Restore original clipboard before render, in case it's used during render
This commit is contained in:
parent
a4e30fdc64
commit
8428457be1
|
@ -373,6 +373,9 @@ impl<
|
||||||
} else {
|
} else {
|
||||||
info!("Passive mode activated");
|
info!("Passive mode activated");
|
||||||
|
|
||||||
|
// Restore original clipboard in case it's used during render
|
||||||
|
self.clipboard_manager.set_clipboard(&previous_clipboard);
|
||||||
|
|
||||||
let rendered = self.renderer.render_passive(&clipboard, &config);
|
let rendered = self.renderer.render_passive(&clipboard, &config);
|
||||||
|
|
||||||
match rendered {
|
match rendered {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user