From 63698da541562c9017c0ed1abe05d35cc330d03b Mon Sep 17 00:00:00 2001 From: billypom on debian Date: Mon, 24 Mar 2025 22:09:55 -0400 Subject: [PATCH] more crap --- components/MusicTable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/MusicTable.py b/components/MusicTable.py index 1dab89d..328a988 100644 --- a/components/MusicTable.py +++ b/components/MusicTable.py @@ -196,10 +196,10 @@ class MusicTable(QTableView): col_count = self.model2.columnCount() qtableview_width = self.size().width() sum_of_cols = self.horizontal_header.length() - debug(f'qtable_width: {qtableview_width}') - debug(f'sum of cols: {sum_of_cols}') + # debug(f'qtable_width: {qtableview_width}') + # debug(f'sum of cols: {sum_of_cols}') - if sum_of_cols <= qtableview_width: + if sum_of_cols != qtableview_width: # if not the last header if logicalIndex < (col_count): next_header_size = self.horizontal_header.sectionSize(logicalIndex + 1)