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
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class BaseController(QObject):
@pyqtSlot()
def swapImages(self):
# 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):