mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Fix segfault when adding new graph widget (#592)
This commit is contained in:
parent
afd6c2fd67
commit
390f30b124
@ -173,7 +173,7 @@ void DisassemblerGraphView::loadCurrentGraph()
|
||||
layout->setAlignment(emptyText, Qt::AlignHCenter);
|
||||
}
|
||||
emptyText->setVisible(true);
|
||||
} else {
|
||||
} else if (emptyText) {
|
||||
emptyText->setVisible(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user