1
0
Fork 0

Fix a bug where a column width of 0 would not adjust correctly

This commit is contained in:
Duncan Ogilvie 2023-09-19 06:40:21 +02:00
parent 7733012330
commit e2d1d79930
2 changed files with 2 additions and 4 deletions

View File

@ -1119,6 +1119,8 @@ void AbstractTableView::addColumnAt(int width, const QString & title, bool isCli
column.title = title;
mColumnOrder.append(mColumnList.length());
mColumnList.append(column);
updateLastColumnWidth();
}
void AbstractTableView::setRowCount(duint count)

View File

@ -37,10 +37,6 @@ void DisassemblyPopup::updateColors()
mCommentBackgroundColor = ConfigColor("DisassemblyCommentBackgroundColor");
mCommentAutoColor = ConfigColor("DisassemblyAutoCommentColor");
mCommentAutoBackgroundColor = ConfigColor("DisassemblyAutoCommentBackgroundColor");
// TODO: fix this
//QPalette palette;
//palette.setColor(QPalette::Foreground, ConfigColor("AbstractTableViewSeparatorColor"));
//setPalette(palette);
}
void DisassemblyPopup::tokenizerConfigUpdated()