We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d5533 commit 5717972Copy full SHA for 5717972
main.py
@@ -54,8 +54,8 @@ def openfile(self):
54
55
56
def double_click_search_table(self, info):
57
- row = info.row()
58
- os.startfile(self.resultTable.item(row, 0).text())
+ file_path = self.resultTable.item(info.row(), 0).text()
+ os.startfile(os.path.normpath(file_path))
59
60
61
def double_click_duplicate_table(self, info):
@@ -74,6 +74,7 @@ def start_search(self):
74
return
75
self.resultTable.setRowCount(0) # 清空表格
76
nc = self.resultCount.value()
77
+ nc = nc if nc <= len(self.exists_index) else len(self.exists_index)
78
results = utils.checkout(self.input_path[0], self.exists_index, nc)
79
for i in results:
80
row = self.resultTable.rowCount()
0 commit comments