summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-25 11:30:46 +0200
committerpml68 <contact@pml68.dev>2025-04-25 11:30:57 +0200
commitf9f854f124d4676e8c79adeda6bfaceba586805f (patch)
tree2906bff72f25e3df7f9fd4fb4363c6e07eae99c6 /src/main.rs
parentrefactor(material_theme): make `Theme` `Copy`, add `Theme::ALL` constant (diff)
downloadiced-builder-f9f854f124d4676e8c79adeda6bfaceba586805f.tar.gz
feat(material_theme): create an iced `Palette` for `iced::theme::Base` impl
Diffstat (limited to '')
-rw-r--r--src/main.rs2
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() {