[BUGFIX] Fixed uneditable content in clickable disasm records

This commit is contained in:
hasherezade
2026-06-04 13:57:24 -08:00
parent 27f538211c
commit d5ac9a2cde
2 changed files with 9 additions and 3 deletions
+7 -3
View File
@@ -9,9 +9,13 @@ HexDumpModel::HexDumpModel(PeHandler *peHndl, bool isHexFormat, QObject *parent)
startOff(0), endOff(0), pageSize(PREVIEW_SIZE),
addrType(Executable::RAW)
{
disconnect(myPeHndl, SIGNAL(modified()), this, SLOT(onNeedReset()));
connect(myPeHndl, SIGNAL(modified()), this, SLOT(onNeedReset()), Qt::QueuedConnection);
connect(myPeHndl, SIGNAL(marked()), this, SLOT(onNeedReset()), Qt::QueuedConnection);
connectSignals();
}
void HexDumpModel::connectSignals()
{
connect(myPeHndl, SIGNAL(modified()), this, SLOT(onNeedReset()));
connect(myPeHndl, SIGNAL(marked()), this, SLOT(onNeedReset()));
}
void HexDumpModel::setShownContent(offset_t start, bufsize_t size)
+2
View File
@@ -50,6 +50,8 @@ public:
}
protected:
virtual void connectSignals();
Executable::addr_type addrType;
private: