GUI: resolved issue with weird column view bugs in the CPUDump
This commit is contained in:
parent
725dce1b58
commit
cde6b41c8d
|
@ -983,6 +983,7 @@ void AbstractTableView::setRowCount(dsint count)
|
|||
void AbstractTableView::deleteAllColumns()
|
||||
{
|
||||
mColumnList.clear();
|
||||
mColumnOrder.clear();
|
||||
}
|
||||
|
||||
void AbstractTableView::setColTitle(int index, const QString & title)
|
||||
|
|
|
@ -13,7 +13,7 @@ CPUMultiDump::CPUMultiDump(CPUDisassembly* disas, int nbCpuDumpTabs, QWidget* pa
|
|||
for(uint i = 0; i < mMaxCPUDumpTabs; i++)
|
||||
{
|
||||
CPUDump* cpuDump = new CPUDump(disas, this);
|
||||
//cpuDump->loadColumnFromConfig(QString("CPUDump%1").arg(i + 1)); //TODO: needs a workaround because the columns change
|
||||
cpuDump->loadColumnFromConfig(QString("CPUDump%1").arg(i + 1)); //TODO: needs a workaround because the columns change
|
||||
connect(cpuDump, SIGNAL(displayReferencesWidget()), this, SLOT(displayReferencesWidgetSlot()));
|
||||
this->addTabEx(cpuDump, QIcon(":/icons/images/dump.png"), tr("Dump ") + QString::number(i + 1), QString("Dump ") + QString::number(i + 1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue