1
0
Fork 0

ipc_debugger: Fixing NULL ptr call on multiple clear

This commit is contained in:
Gauvain "GovanifY" Roussel-Tarbouriech 2020-02-23 03:54:29 +01:00
parent 59c159e8a0
commit 2a616fcc5e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ void IPCRecorderWidget::SetEnabled(bool enabled) {
}
void IPCRecorderWidget::Clear() {
id_offset = records.size() + 1;
id_offset += records.size();
records.clear();
ui->main->invisibleRootItem()->takeChildren();