378fa1fd6e
* AVC * Import split * Default thread size * Hen * Allowed extensions * Perf * Connect * Excluded * Zmiany * Optimization * 4.10 * At once * Included * Chang * VD * VD * Hashes * Wersja * SD * Up * Up * 2024 * Dup * Slint files * Added select * Selections * Fix * LTO * Actions * Added popup delete * AB * V4 * Release * LTO * Basic moving * Commonsy * Moving probably works * Popup move
10 lines
212 B
Rust
10 lines
212 B
Rust
use crossbeam_channel::Sender;
|
|
|
|
use crate::MainWindow;
|
|
|
|
pub fn connect_stop_button(app: &MainWindow, stop_sender: Sender<()>) {
|
|
app.on_scan_stopping(move || {
|
|
stop_sender.send(()).unwrap();
|
|
});
|
|
}
|