Default to first tab

svn-id: r11087
This commit is contained in:
James Brown 2003-11-03 06:19:43 +00:00
parent a331a298a2
commit 0ece8aab8b

View File

@ -151,6 +151,8 @@ EditGameDialog::EditGameDialog(const String &domain, GameSettings target)
_fullscreenCheckbox = new CheckboxWidget(tab, 15, 62, 200, 16, "Use Fullscreen Mode", 0, 'F');
_fullscreenCheckbox->setState(ConfMan.getBool("fullscreen", _domain));
// Activate the first tab
tab->setActiveTab(0);
// GUI: Add OK & Cancel buttons
addButton(_w - 2 * (kButtonWidth + 10), _h - 24, "Cancel", kCloseCmd, 0);