mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-29 16:25:26 +00:00
Don't raise unsynced widgets. (#1609)
This commit is contained in:
parent
c96c72a147
commit
dba42e7cd8
@ -13,6 +13,9 @@ MemoryDockWidget::MemoryDockWidget(CutterCore::MemoryWidgetType type, MainWindow
|
|||||||
|
|
||||||
void MemoryDockWidget::handleRaiseMemoryWidget(CutterCore::MemoryWidgetType raiseType)
|
void MemoryDockWidget::handleRaiseMemoryWidget(CutterCore::MemoryWidgetType raiseType)
|
||||||
{
|
{
|
||||||
|
if (!seekable->isSynchronized()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
bool raisingEmptyGraph = (raiseType == CutterCore::MemoryWidgetType::Graph && Core()->isGraphEmpty());
|
bool raisingEmptyGraph = (raiseType == CutterCore::MemoryWidgetType::Graph && Core()->isGraphEmpty());
|
||||||
if (raisingEmptyGraph) {
|
if (raisingEmptyGraph) {
|
||||||
raiseType = CutterCore::MemoryWidgetType::Disassembly;
|
raiseType = CutterCore::MemoryWidgetType::Disassembly;
|
||||||
|
Loading…
Reference in New Issue
Block a user