diff --git a/gui/wizard/src/frame/platform.rs b/gui/wizard/src/frame/platform.rs index 3b4bd9a..98172eb 100644 --- a/gui/wizard/src/frame/platform.rs +++ b/gui/wizard/src/frame/platform.rs @@ -218,6 +218,12 @@ pub fn platform(tx: Sender, title: &str) let clone_tx = tx.clone(); clone_btn_next.set_callback(move |_| { + if let Ok(guard) = PLATFORM.lock() && *guard == None + { + log!("No platform was selected"); + return; + } // if + // Fetch files clone_output_status.set_value("Fetching list of files to download");