fix graph reopen bug (#2083)
This commit is contained in:
parent
0e2febe9c7
commit
24e71e86ee
|
|
@ -2089,6 +2089,14 @@ void DisassemblerGraphView::graphAtSlot(duint addr)
|
|||
|
||||
void DisassemblerGraphView::updateGraphSlot()
|
||||
{
|
||||
if(!DbgIsDebugging())
|
||||
{
|
||||
//happens mostly when debugging process has been terminated
|
||||
this->ready = false;
|
||||
zoomLevel = 1;
|
||||
zoomLevelOld = 1;
|
||||
}
|
||||
|
||||
this->viewport()->update();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue