Merge pull request #650 from aceArt-GmbH/patch-1

Update plugin.py to capture time_in_minutes
This commit is contained in:
Archisman Panigrahi 2024-09-21 22:58:00 -04:00 committed by GitHub
commit 1a70cb6384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class TrayIcon:
disable_items.append({
'id': disable_option_dynamic_id,
'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