mirror of
https://github.com/fergalmoran/picard.git
synced 2026-05-05 02:26:11 +00:00
Merge pull request #578 from samj1912/picard931
PICARD-931: Fix info dialog opening on double clicking cluster
This commit is contained in:
@@ -525,9 +525,9 @@ class BaseTreeView(QtGui.QTreeWidget):
|
||||
|
||||
def activate_item(self, index):
|
||||
obj = self.itemFromIndex(index).obj
|
||||
# Double-clicking albums should expand them. The album info can be
|
||||
# Double-clicking albums or clusters should expand them. The album info can be
|
||||
# viewed by using the toolbar button.
|
||||
if not isinstance(obj, Album) and obj.can_view_info():
|
||||
if not isinstance(obj, (Album, Cluster)) and obj.can_view_info():
|
||||
self.window.view_info()
|
||||
|
||||
def add_cluster(self, cluster, parent_item=None):
|
||||
|
||||
Reference in New Issue
Block a user