summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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() {