1
0
Fork 0

fix graph reopen bug (#2083)

This commit is contained in:
raiseman 2018-11-27 14:11:31 +03:00 committed by Duncan Ogilvie
parent 0e2febe9c7
commit 24e71e86ee
1 changed files with 8 additions and 0 deletions

View File

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