summary history branches tags files
commit:59404a29037b7802ba4dae6654e3f11802e7d942
author:Trevor Bentley
committer:Trevor Bentley
date:Mon Jan 22 14:08:55 2018 +0100
parents:1f5e2bcd5fc7b63cbae7227d80c5f7b1568156a1
Support deleting alarms...
diff --git a/CHANGELOG b/CHANGELOG
line changes: +17/-0
index 0000000..a5d2bdc
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,17 @@
+1.0.0-rc
+
+* Fix many crashes
+* Faster UI updates after commands
+* Support UTF-8 in web config
+* Feature: quick-save button
+*	Feature: search button (uses Spotify website)
+* Feature: alarm clocks
+* Feature: Last.fm scrobbling
+
+0.2.0
+
+* First binary release
+* Mac & Windows systray/menubar UI
+* Controls: Play/Pause/Skip/Select Device/Change Volume
+* Mac Touch Bar UI
+* Configure settings via web UI

diff --git a/src/settings/mod.rs b/src/settings/mod.rs
line changes: +2/-0
index a8f3ecd..d6752ae
--- a/src/settings/mod.rs
+++ b/src/settings/mod.rs
@@ -419,6 +419,8 @@ pub fn save_web_alarm_config(config: BTreeMap<String,String>) -> Result<(), Sett
         if key == "cancel" {
             return Err("Canceled by user.".to_string());
         }
+        // Clear existing alarms
+        conf.delete(Some("alarms".to_owned()));
         // are you kidding me??
         let idx = key.chars().rev().take(1).collect::<Vec<char>>()[0].to_digit(10).unwrap_or(0) as usize;
         let entry = entries.get_mut(idx).unwrap();