mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix decompiler widget crash when starting unsynced
This commit is contained in:
parent
13953d213a
commit
900b1a3e14
@ -347,8 +347,10 @@ void DecompilerWidget::decompilationFinished(RzAnnotatedCode *codeDecompiled)
|
||||
}
|
||||
}
|
||||
|
||||
if (!scrollHistory.empty()) {
|
||||
ui->textEdit->horizontalScrollBar()->setSliderPosition(scrollHistory[historyPos].first);
|
||||
ui->textEdit->verticalScrollBar()->setSliderPosition(scrollHistory[historyPos].second);
|
||||
}
|
||||
}
|
||||
|
||||
void DecompilerWidget::setAnnotationsAtCursor(size_t pos)
|
||||
|
Loading…
Reference in New Issue
Block a user