mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Update shorcuts
--HG-- branch : feature-ryzom-installer
This commit is contained in:
parent
95f6b154fb
commit
30703b5591
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,7 @@ void CProfilesDialog::displayProfile(int index)
|
||||||
|
|
||||||
const CProfile &profile = m_model->getProfiles()[index];
|
const CProfile &profile = m_model->getProfiles()[index];
|
||||||
|
|
||||||
|
// update all widgets with content of profile
|
||||||
profileIdLabel->setText(QString::number(profile.id));
|
profileIdLabel->setText(QString::number(profile.id));
|
||||||
accountEdit->setText(profile.account);
|
accountEdit->setText(profile.account);
|
||||||
nameEdit->setText(profile.name);
|
nameEdit->setText(profile.name);
|
||||||
|
@ -123,6 +124,8 @@ void CProfilesDialog::saveProfile(int index)
|
||||||
profile.server = m_serversModel->getServerIDFromIndex(serverComboBox->currentIndex());
|
profile.server = m_serversModel->getServerIDFromIndex(serverComboBox->currentIndex());
|
||||||
profile.arguments = argumentsEdit->text();
|
profile.arguments = argumentsEdit->text();
|
||||||
profile.comments = commentsEdit->toPlainText();
|
profile.comments = commentsEdit->toPlainText();
|
||||||
|
profile.desktopShortcut = desktopShortcutCheckBox->isChecked();
|
||||||
|
profile.menuShortcut = menuShortcutCheckBox->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CProfilesDialog::deleteProfile(int index)
|
void CProfilesDialog::deleteProfile(int index)
|
||||||
|
|
Loading…
Reference in a new issue