mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
[#50 state:port] When a ref file is selected, only show info one one side of the details panel.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40111
This commit is contained in:
parent
e5015d85b9
commit
b8e6b8ba8b
@ -101,10 +101,9 @@ class DupeGuru(app.DupeGuru):
|
||||
|
||||
def RefreshDetailsTable(self,dupe,group):
|
||||
l1 = self._get_display_info(dupe, group, False)
|
||||
if group is not None:
|
||||
l2 = self._get_display_info(group.ref, group, False)
|
||||
else:
|
||||
l2 = l1 #To have a list of empty '---' values
|
||||
# we don't want the two sides of the table to display the stats for the same file
|
||||
ref = group.ref if group is not None and group.ref is not dupe else None
|
||||
l2 = self._get_display_info(ref, group, False)
|
||||
names = [c['display'] for c in self.data.COLUMNS]
|
||||
self.details_table = zip(names,l1,l2)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user