mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Under Qt, added a 'marked' column thus uncoupling the marked' attribute from the 'filename' column.
Also, added the ability to sort by 'marked' status.
This commit is contained in:
@@ -7,13 +7,10 @@
|
||||
|
||||
from qtlib.column import Column
|
||||
from ..base.results_model import ResultsModel as ResultsModelBase
|
||||
from core_pe.result_table import ResultTable
|
||||
|
||||
# Little hack to remove the 'marked' column which isn't there in the Qt GUI.
|
||||
del ResultTable.COLUMNS[0]
|
||||
|
||||
class ResultsModel(ResultsModelBase):
|
||||
COLUMNS = [
|
||||
Column('marked', defaultWidth=30),
|
||||
Column('name', defaultWidth=200),
|
||||
Column('folder_path', defaultWidth=180),
|
||||
Column('size', defaultWidth=60),
|
||||
|
||||
Reference in New Issue
Block a user