Skip to content

Commit 2f9ae0d

Browse files
committed
refactor: Update dialog and simplify drop import logic
* Handle Qt events for main window in ts_qt.py * Replace magic values with enums * Match import duplicate file dialog to delete missing entry dialog * Remove excessive progess widgets * Add docstrings and logging
1 parent 4e4bf6b commit 2f9ae0d

File tree

3 files changed

+210
-192
lines changed

3 files changed

+210
-192
lines changed

tagstudio/src/qt/modals/delete_unlinked.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ def refresh_list(self):
7777

7878
self.model.clear()
7979
for i in self.tracker.missing_files:
80-
self.model.appendRow(QStandardItem(str(i.path)))
80+
item = QStandardItem(str(i.path))
81+
item.setEditable(False)
82+
self.model.appendRow(item)
8183

8284
def delete_entries(self):
8385
pw = ProgressWidget(

0 commit comments

Comments
 (0)