From 30703b559146e88205128393fa7ad6e04033b82b Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 12 Mar 2016 22:01:03 +0100 Subject: [PATCH] Changed: Update shorcuts --HG-- branch : feature-ryzom-installer --- code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp index 1904c604b..ff42f12ec 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp @@ -96,6 +96,7 @@ void CProfilesDialog::displayProfile(int index) const CProfile &profile = m_model->getProfiles()[index]; + // update all widgets with content of profile profileIdLabel->setText(QString::number(profile.id)); accountEdit->setText(profile.account); nameEdit->setText(profile.name); @@ -123,6 +124,8 @@ void CProfilesDialog::saveProfile(int index) profile.server = m_serversModel->getServerIDFromIndex(serverComboBox->currentIndex()); profile.arguments = argumentsEdit->text(); profile.comments = commentsEdit->toPlainText(); + profile.desktopShortcut = desktopShortcutCheckBox->isChecked(); + profile.menuShortcut = menuShortcutCheckBox->isChecked(); } void CProfilesDialog::deleteProfile(int index)