mirror of
https://github.com/13hannes11/focus_annotator.git
synced 2024-09-03 23:21:01 +02:00
saving to light tmp file to speed up annotation
This commit is contained in:
@@ -132,6 +132,11 @@ fn build_ui(app: &Application) {
|
||||
image_ui.window.add_action(&skip_focus);
|
||||
image_ui.window.add_action(&back_focus);
|
||||
|
||||
let _sender = sender.clone();
|
||||
app.connect_shutdown(move |_| {
|
||||
_sender.send(Message::Quit).unwrap();
|
||||
});
|
||||
|
||||
image_ui.show();
|
||||
receiver.attach(None, move |msg| {
|
||||
eprintln!("Received message: {:?}", msg);
|
||||
|
||||
Reference in New Issue
Block a user