Merge pull request #650 from aceArt-GmbH/patch-1
Update plugin.py to capture time_in_minutes
This commit is contained in:
commit
1a70cb6384
|
@ -514,7 +514,7 @@ class TrayIcon:
|
||||||
disable_items.append({
|
disable_items.append({
|
||||||
'id': disable_option_dynamic_id,
|
'id': disable_option_dynamic_id,
|
||||||
'label': label,
|
'label': label,
|
||||||
'callback': lambda: self.on_disable_clicked(time_in_minutes),
|
'callback': lambda time_in_minutes=time_in_minutes: self.on_disable_clicked(time_in_minutes),
|
||||||
})
|
})
|
||||||
|
|
||||||
disable_option_dynamic_id += 1
|
disable_option_dynamic_id += 1
|
||||||
|
|
Loading…
Reference in New Issue