mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 13:55:26 +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);
|
layout->setAlignment(emptyText, Qt::AlignHCenter);
|
||||||
}
|
}
|
||||||
emptyText->setVisible(true);
|
emptyText->setVisible(true);
|
||||||
} else {
|
} else if (emptyText) {
|
||||||
emptyText->setVisible(false);
|
emptyText->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user