mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Profiles can now be added and removed in a proper way.
This commit is contained in:
parent
58e213f578
commit
eedc5ea68f
8 changed files with 428 additions and 496 deletions
|
@ -734,7 +734,7 @@ GeneralSettings::GeneralSettings()
|
|||
QSettings settings;
|
||||
templateSetup = settings.value("default_channel_order", 0).toInt();
|
||||
stickMode = settings.value("default_mode", 1).toInt();
|
||||
int profile_id = settings.value("ActiveProfile", 0).toInt();
|
||||
int profile_id = settings.value("profileId", 0).toInt();
|
||||
if (profile_id>0) {
|
||||
settings.beginGroup("Profiles");
|
||||
QString profile=QString("profile%1").arg(profile_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue