VirtualBox

Changeset 3897 in vbox for trunk/src


Ignore:
Timestamp:
Jul 27, 2007 7:25:51 AM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: Fixed QIMessageBox regression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/QIMessageBox.cpp

    r3894 r3897  
    247247    if (aShown)
    248248    {
    249         mFlagCB_Details->setShown (mFlagCB->isShown());
    250         mFlagCB_Details->setChecked (mFlagCB->isChecked());
     249        mFlagCB_Details->setShown (mFlagCB_Main->isShown());
     250        mFlagCB_Details->setChecked (mFlagCB_Main->isChecked());
     251        mFlagCB_Details->setText (mFlagCB_Main->text());
     252        if (mFlagCB_Main->hasFocus())
     253            mFlagCB_Details->setFocus();
    251254        mFlagCB_Main->setShown (false);
    252255        mFlagCB = mFlagCB_Details;
     
    260263        mFlagCB_Main->setShown (mFlagCB_Details->isShown());
    261264        mFlagCB_Main->setChecked (mFlagCB_Details->isChecked());
     265        mFlagCB_Main->setText (mFlagCB_Details->text());
     266        if (mFlagCB_Details->hasFocus())
     267            mFlagCB_Main->setFocus();
    262268        mFlagCB = mFlagCB_Main;
    263269        mSpacer->changeSize (0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
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