Changeset 10166
- Timestamp:
- 07/03/08 18:16:45 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r10146 r10166 1247 1247 AssertWrapperOk (cmachine); 1248 1248 if (lastAction [0] == kPowerOff) 1249 { 1249 1250 dlg.mRbPowerOff->setChecked (true); 1251 dlg.mRbPowerOff->setFocus(); 1252 } 1250 1253 else if (lastAction [0] == kShutdown) 1254 { 1251 1255 dlg.mRbShutdown->setChecked (true); 1256 dlg.mRbShutdown->setFocus(); 1257 } 1252 1258 else if (lastAction [0] == kSave) 1259 { 1253 1260 dlg.mRbSave->setChecked (true); 1261 dlg.mRbSave->setFocus(); 1262 } 1254 1263 else /* the default is ACPI Shutdown */ 1264 { 1255 1265 dlg.mRbShutdown->setChecked (true); 1266 dlg.mRbShutdown->setFocus(); 1267 } 1256 1268 dlg.mCbDiscardCurState->setChecked ( 1257 1269 lastAction.count() > 1 && lastAction [1] == kDiscardCurState);

