more crap

This commit is contained in:
billypom on debian 2025-03-24 22:09:55 -04:00
parent 797b8aed81
commit 63698da541

View File

@ -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)