1
0
Fork 0

GUI: resolved issue with weird column view bugs in the CPUDump

This commit is contained in:
mrexodia 2016-06-24 02:44:48 +02:00
parent 725dce1b58
commit cde6b41c8d
No known key found for this signature in database
GPG Key ID: D72F9A4FAA0073B4
2 changed files with 2 additions and 1 deletions

View File

@ -983,6 +983,7 @@ void AbstractTableView::setRowCount(dsint count)
void AbstractTableView::deleteAllColumns()
{
mColumnList.clear();
mColumnOrder.clear();
}
void AbstractTableView::setColTitle(int index, const QString & title)

View File

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