aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2010-11-01 17:25:59 +0200
committerAlexander Yakushev <yakushev.alex@gmail.com>2010-11-01 17:25:59 +0200
commit3b289ff6e8070bb3585507d1235da8680a6e9c9f (patch)
treec43811dba728b790facf0d48eac70425550838b0
parent595de448597ac4e9b115c8b9dd08814fb37b3f03 (diff)
downloadawesompd-3b289ff6e8070bb3585507d1235da8680a6e9c9f.tar.gz
awesompd-3b289ff6e8070bb3585507d1235da8680a6e9c9f.tar.bz2
Minor fix with menu recreation
-rw-r--r--awesompd.lua2
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+"))