Skip to content

Commit

Permalink
Eh
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Oct 6, 2024
1 parent a0df42a commit 0c5b256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion krokiet/src/connect_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub fn connect_scan_button(app: &MainWindow, progress_sender: Sender<ProgressDat
app.on_scan_starting(move |active_tab| {
let app = a.upgrade().expect("Failed to upgrade app :(");

if check_if_there_are_any_included_folders(&app) {
if !check_if_there_are_any_included_folders(&app) {
app.invoke_scan_ended("Cannot start scan when no included directories are set.".into());
return;
}
Expand Down

0 comments on commit 0c5b256

Please sign in to comment.