diff options
author | Alexander Yakushev <yakushev.alex@gmail.com> | 2010-11-01 17:25:59 +0200 |
---|---|---|
committer | Alexander Yakushev <yakushev.alex@gmail.com> | 2010-11-01 17:25:59 +0200 |
commit | 3b289ff6e8070bb3585507d1235da8680a6e9c9f (patch) | |
tree | c43811dba728b790facf0d48eac70425550838b0 | |
parent | 595de448597ac4e9b115c8b9dd08814fb37b3f03 (diff) | |
download | awesompd-3b289ff6e8070bb3585507d1235da8680a6e9c9f.tar.gz awesompd-3b289ff6e8070bb3585507d1235da8680a6e9c9f.tar.bz2 |
Minor fix with menu recreation
-rw-r--r-- | awesompd.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/awesompd.lua b/awesompd.lua index 376d981..e4272d2 100644 --- a/awesompd.lua +++ b/awesompd.lua @@ -488,6 +488,7 @@ function awesompd:update_track() if self.status ~= "Stopped" then self.status = "Stopped" self.current_number = 0 + self.recreate_menu = true self.recreate_playback = true self.recreate_list = true end @@ -496,6 +497,7 @@ function awesompd:update_track() if new_track ~= self.text then self.text = new_track self.to_notify = true + self.recreate_menu = true self.recreate_playback = true self.recreate_list = true self.current_number = tonumber(self.find_pattern(info_ar[2],"%d+")) |