redraw fixed
This commit is contained in:
parent
f351dea81a
commit
c1633c7197
|
|
@ -134,13 +134,16 @@ impl ExportAllWindow {
|
|||
if let Some(channel) = &*rw_read!(self.channel) {
|
||||
if let Ok(msg) = channel.try_recv() {
|
||||
match msg {
|
||||
ThreadMessage::HideWindow => self.win.hide(),
|
||||
ThreadMessage::HideWindow => {
|
||||
self.win.hide();
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
}
|
||||
app::wait();
|
||||
}
|
||||
self.win.redraw();
|
||||
}
|
||||
|
||||
// Set callbacks of elements
|
||||
|
|
|
|||
|
|
@ -491,16 +491,12 @@ impl MainWindow {
|
|||
);
|
||||
|
||||
let mut export_all = ExportAllWindow::new(Arc::clone(&self.images_list));
|
||||
let mut win = self.win.clone();
|
||||
self.menubar.add(
|
||||
"&Actions/Export All with Quotes...\t",
|
||||
Shortcut::None,
|
||||
menu::MenuFlag::Normal,
|
||||
move |_| {
|
||||
win.deactivate();
|
||||
export_all.export();
|
||||
win.activate();
|
||||
win.redraw();
|
||||
fltk::app::awake();
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue