VirtualBox

Changeset 8576 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
May 5, 2008 1:39:49 PM (17 years ago)
Author:
vboxsync
Message:

Forgot correcting putBackToMachine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui.h

    r8567 r8576  
    667667    {
    668668        if (item->bus() == KStorageBus_SATA)
    669             maxSATAPort = maxSATAPort < item->device() ?
    670                           item->device() : maxSATAPort;
     669            maxSATAPort = maxSATAPort < (item->channel()+1) ?
     670                          (item->channel()+1) : maxSATAPort;
    671671        mMachine.AttachHardDisk (item->getId(),
    672672            item->bus(), item->channel(), item->device());
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette