diff options
| author | pml68 <contact@pml68.dev> | 2025-04-25 11:30:46 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-25 11:30:57 +0200 |
| commit | f9f854f124d4676e8c79adeda6bfaceba586805f (patch) | |
| tree | 2906bff72f25e3df7f9fd4fb4363c6e07eae99c6 /src | |
| parent | refactor(material_theme): make `Theme` `Copy`, add `Theme::ALL` constant (diff) | |
| download | iced-builder-f9f854f124d4676e8c79adeda6bfaceba586805f.tar.gz | |
feat(material_theme): create an iced `Palette` for `iced::theme::Base` impl
Diffstat (limited to '')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 0f1a1bf..5014077 100644 --- a/src/main.rs +++ b/src/main.rs @@ -146,8 +146,8 @@ impl IcedBuilder { Message::ConfigLoad(result) => match result { Ok(config) => { self.config = Arc::new(config); - self.theme.update(self.config.selected_theme().into()); + return if let Some(path) = self.config.last_project.clone() { if path.exists() && path.is_file() { |
