1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00

Fixed missing profiles combobox

This commit is contained in:
graffy76 2013-10-01 22:36:49 -05:00
parent 00c78a4aa1
commit a5a0f61533
2 changed files with 3 additions and 4 deletions

View File

@ -65,7 +65,7 @@ void DataFilesPage::loadSettings()
foreach (const QString &file, addons)
files.append(file);
//ContentSelectorView::ContentSelector::instance().setCheckStates(files);
ContentSelectorView::ContentSelector::instance().setCheckStates(files);
}
void DataFilesPage::saveSettings()

View File

@ -129,10 +129,7 @@ void ContentSelectorView::ContentSelector::buildAddonView()
void ContentSelectorView::ContentSelector::buildProfilesView()
{
if (!isFlagged (Flag_Profile))
{
ui.profileGroupBox->setVisible(false);
return;
}
// Add the actions to the toolbuttons
ui.newProfileButton->setDefaultAction (ui.newProfileAction);
@ -145,6 +142,8 @@ void ContentSelectorView::ContentSelector::buildProfilesView()
connect (ui.profilesComboBox, SIGNAL (profileRenamed(QString,QString)), this, SIGNAL(signalProfileRenamed(QString,QString)));
connect (ui.profilesComboBox, SIGNAL (profileChanged(QString,QString)), this, SIGNAL(signalProfileChanged(QString,QString)));
connect (ui.profilesComboBox, SIGNAL (signalProfileTextChanged(QString)), this, SLOT (slotProfileTextChanged (QString)));
ui.profileGroupBox->setVisible (true);
}
void ContentSelectorView::ContentSelector::buildLoadAddonView()