Tidying
This commit is contained in:
@@ -596,6 +596,11 @@ namespace Bloom::Widgets
|
||||
menu->addAction(this->deleteSnapshotAction);
|
||||
menu->addSeparator();
|
||||
menu->addAction(this->openSnapshotCurrentDiffAction);
|
||||
|
||||
if (this->selectedSnapshotItems.size() == 2) {
|
||||
menu->addAction(this->openSnapshotDiffAction);
|
||||
}
|
||||
|
||||
menu->addSeparator();
|
||||
menu->addAction(this->restoreSnapshotAction);
|
||||
|
||||
@@ -609,10 +614,6 @@ namespace Bloom::Widgets
|
||||
this->selectedSnapshotItems.size() == 1 && this->targetState == Targets::TargetState::STOPPED
|
||||
);
|
||||
|
||||
if (this->selectedSnapshotItems.size() == 2) {
|
||||
menu->addAction(this->openSnapshotDiffAction);
|
||||
}
|
||||
|
||||
menu->exec(sourcePosition);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ namespace Bloom::Widgets
|
||||
|
||||
public:
|
||||
CreateSnapshotWindow* createSnapshotWindow = nullptr;
|
||||
MemorySnapshotItem* selectedItem = nullptr;
|
||||
|
||||
explicit SnapshotManager(
|
||||
const Targets::TargetMemoryDescriptor& memoryDescriptor,
|
||||
|
||||
Reference in New Issue
Block a user