Skip to content

Commit

Permalink
Fix not being able to start engine without restart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianch committed Feb 8, 2024
1 parent 65ee0d1 commit 2b1daa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ impl Application for OfflinePuzzles {
window::close(window::Id::MAIN)
} (_, Message::EngineFileChosen(engine_path)) => {
if let Some(engine_path) = engine_path {
self.settings_tab.engine_path = engine_path;
self.settings_tab.engine_path = engine_path.clone();
self.engine.engine_path = engine_path;
}
Command::none()
} (_, Message::StartEngine) => {
Expand Down

0 comments on commit 2b1daa4

Please sign in to comment.