mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 14:33:00 +00:00
ipc_debugger: Fixing NULL ptr call on multiple clear
This commit is contained in:
parent
59c159e8a0
commit
2a616fcc5e
|
@ -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