Fix "Alt+;" on NULL can use this invisible command (#1365)
This commit is contained in:
parent
1d7a83053a
commit
f356ea5b2f
|
@ -859,7 +859,8 @@ void CPUDisassembly::setLabelAddressSlot()
|
||||||
addr = instr_info.addr;
|
addr = instr_info.addr;
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
if(!DbgMemIsValidReadPtr(addr))
|
||||||
|
return;
|
||||||
LineEditDialog mLineEdit(this);
|
LineEditDialog mLineEdit(this);
|
||||||
QString addr_text = ToPtrString(addr);
|
QString addr_text = ToPtrString(addr);
|
||||||
char label_text[MAX_LABEL_SIZE] = "";
|
char label_text[MAX_LABEL_SIZE] = "";
|
||||||
|
|
Loading…
Reference in New Issue