Fix a bug where a column width of 0 would not adjust correctly
parent
7733012330
commit
e2d1d79930
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue