1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-19 05:19:03 +00:00
dupeguru/cocoa/inter/prioritize_list.py

11 lines
334 B
Python
Raw Normal View History

from cocoa.inter2 import PySelectableList2, SelectableListView
class PrioritizeListView(SelectableListView):
pass
class PyPrioritizeList(PySelectableList2):
FOLLOW_PROTOCOLS = ['PySelectableList2']
def moveIndexes_toIndex_(self, indexes: list, dest_index: int):
self.model.move_indexes(indexes, dest_index)