DriveSetup: disable 'Open with diskprobe' when no partition selected
This was part of the original DriveSetup patch but I missed it when splitting it in smaller parts.
This commit is contained in:
parent
5599a1a3bb
commit
53830ab75a
@ -668,6 +668,8 @@ MainWindow::_UpdateMenus(BDiskDevice* disk,
|
||||
fWipeMenuItem->SetEnabled(false);
|
||||
fEjectMenuItem->SetEnabled(false);
|
||||
fSurfaceTestMenuItem->SetEnabled(false);
|
||||
fOpenDiskProbeMenuItem->SetEnabled(false);
|
||||
fOpenDiskProbeContextMenuItem->SetEnabled(false);
|
||||
} else {
|
||||
// fWipeMenuItem->SetEnabled(true);
|
||||
fWipeMenuItem->SetEnabled(false);
|
||||
|
Loading…
Reference in New Issue
Block a user