Merge pull request #5105 from GovanifY/master
ipc_debugger: Fixing NULL ptr call on multiple clear
This commit is contained in:
commit
1dfcb0937e
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void IPCRecorderWidget::SetEnabled(bool enabled) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void IPCRecorderWidget::Clear() {
|
void IPCRecorderWidget::Clear() {
|
||||||
id_offset = records.size() + 1;
|
id_offset += records.size();
|
||||||
|
|
||||||
records.clear();
|
records.clear();
|
||||||
ui->main->invisibleRootItem()->takeChildren();
|
ui->main->invisibleRootItem()->takeChildren();
|
||||||
|
|
Loading…
Reference in a new issue