Skip to content

Commit

Permalink
Fixed #370 - Fixed Network Rig configuration is not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed May 16, 2024
1 parent ee5d16d commit 3a05273
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ void SettingsDialog::doubleClickRigProfile(QModelIndex i)
ui->rigProfileNameEdit->setText(profile.profileName);

ui->rigInterfaceCombo->setCurrentIndex(ui->rigInterfaceCombo->findData(profile.driver));
ui->rigModelSelect->setCurrentIndex(ui->rigModelSelect->findData(profile.model));

int portIndex;
switch ( profile.getPortType() )
Expand All @@ -503,7 +504,6 @@ void SettingsDialog::doubleClickRigProfile(QModelIndex i)
}

ui->rigPortTypeCombo->setCurrentIndex(portIndex);
ui->rigModelSelect->setCurrentIndex(ui->rigModelSelect->findData(profile.model));
ui->rigPortEdit->setText(profile.portPath);
ui->rigHostNameEdit->setText(profile.hostname);
ui->rigNetPortSpin->setValue(profile.netport);
Expand Down Expand Up @@ -623,6 +623,8 @@ void SettingsDialog::rigPortTypeChanged(int index)
{
FCT_IDENTIFICATION;

qCDebug(function_parameters) << index;

switch (index)
{
// Serial
Expand Down

0 comments on commit 3a05273

Please sign in to comment.