mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +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)
|
||||
{
|
||||
if (!seekable->isSynchronized()) {
|
||||
return;
|
||||
}
|
||||
bool raisingEmptyGraph = (raiseType == CutterCore::MemoryWidgetType::Graph && Core()->isGraphEmpty());
|
||||
if (raisingEmptyGraph) {
|
||||
raiseType = CutterCore::MemoryWidgetType::Disassembly;
|
||||
|
Loading…
Reference in New Issue
Block a user