Skip to content

Commit

Permalink
added tagger instance to ScriptsMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
YohayAiTe committed Dec 28, 2024
1 parent ec06569 commit 1328975
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion picard/ui/scriptsmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@

from functools import partial

from PyQt6 import QtWidgets
from PyQt6 import (
QtCore,
QtWidgets,
)

from picard import log
from picard.album import Album
Expand All @@ -44,6 +47,7 @@ class ScriptsMenu(QtWidgets.QMenu):

def __init__(self, scripts, title, parent=None):
super().__init__(title, parent=parent)
self.tagger = QtCore.QCoreApplication.instance()

for script in scripts:
action = self.addAction(script.name)
Expand Down

0 comments on commit 1328975

Please sign in to comment.