mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fixed missing profiles combobox
This commit is contained in:
parent
00c78a4aa1
commit
a5a0f61533
@ -65,7 +65,7 @@ void DataFilesPage::loadSettings()
|
|||||||
foreach (const QString &file, addons)
|
foreach (const QString &file, addons)
|
||||||
files.append(file);
|
files.append(file);
|
||||||
|
|
||||||
//ContentSelectorView::ContentSelector::instance().setCheckStates(files);
|
ContentSelectorView::ContentSelector::instance().setCheckStates(files);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DataFilesPage::saveSettings()
|
void DataFilesPage::saveSettings()
|
||||||
|
@ -129,10 +129,7 @@ void ContentSelectorView::ContentSelector::buildAddonView()
|
|||||||
void ContentSelectorView::ContentSelector::buildProfilesView()
|
void ContentSelectorView::ContentSelector::buildProfilesView()
|
||||||
{
|
{
|
||||||
if (!isFlagged (Flag_Profile))
|
if (!isFlagged (Flag_Profile))
|
||||||
{
|
|
||||||
ui.profileGroupBox->setVisible(false);
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
// Add the actions to the toolbuttons
|
// Add the actions to the toolbuttons
|
||||||
ui.newProfileButton->setDefaultAction (ui.newProfileAction);
|
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 (profileRenamed(QString,QString)), this, SIGNAL(signalProfileRenamed(QString,QString)));
|
||||||
connect (ui.profilesComboBox, SIGNAL (profileChanged(QString,QString)), this, SIGNAL(signalProfileChanged(QString,QString)));
|
connect (ui.profilesComboBox, SIGNAL (profileChanged(QString,QString)), this, SIGNAL(signalProfileChanged(QString,QString)));
|
||||||
connect (ui.profilesComboBox, SIGNAL (signalProfileTextChanged(QString)), this, SLOT (slotProfileTextChanged (QString)));
|
connect (ui.profilesComboBox, SIGNAL (signalProfileTextChanged(QString)), this, SLOT (slotProfileTextChanged (QString)));
|
||||||
|
|
||||||
|
ui.profileGroupBox->setVisible (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContentSelectorView::ContentSelector::buildLoadAddonView()
|
void ContentSelectorView::ContentSelector::buildLoadAddonView()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user