1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Fix swapping table view columns

We now have only two columns to swap, not 3.
This commit is contained in:
glubsy 2020-07-29 04:26:40 +02:00
parent 7dc9f25b06
commit 1823575af4

View File

@ -397,7 +397,7 @@ class BaseController(QObject):
@pyqtSlot() @pyqtSlot()
def swapImages(self): def swapImages(self):
# swap the columns in the details table as well # swap the columns in the details table as well
self.parent.tableView.horizontalHeader().swapSections(1, 2) self.parent.tableView.horizontalHeader().swapSections(0, 1)
class QWidgetController(BaseController): class QWidgetController(BaseController):