mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Configurations dialog: Fix slot names. Sort configs when dialog first opened.
This commit is contained in:
parent
1625c42e38
commit
5f0fc8fbf7
@ -60,6 +60,8 @@ void ConfigurationsDialog::populateTree()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sortConfigurations();
|
||||||
|
|
||||||
QList<Configuration*>::const_iterator it = m_configurations->begin();
|
QList<Configuration*>::const_iterator it = m_configurations->begin();
|
||||||
int middleIndex = m_configurations->size() / 2;
|
int middleIndex = m_configurations->size() / 2;
|
||||||
QTreeWidgetItem *treeItem;
|
QTreeWidgetItem *treeItem;
|
||||||
@ -445,14 +447,14 @@ void ConfigurationsDialog::on_configurationImport_clicked()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigurationsDialog::on_configurationTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
|
void ConfigurationsDialog::on_configurationsTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous)
|
||||||
{
|
{
|
||||||
(void) current;
|
(void) current;
|
||||||
(void) previous;
|
(void) previous;
|
||||||
updateConfigurationControls();
|
updateConfigurationControls();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigurationsDialog::on_configurationTree_itemActivated(QTreeWidgetItem *item, int column)
|
void ConfigurationsDialog::on_configurationsTree_itemActivated(QTreeWidgetItem *item, int column)
|
||||||
{
|
{
|
||||||
(void) item;
|
(void) item;
|
||||||
(void) column;
|
(void) column;
|
||||||
|
@ -69,8 +69,8 @@ private slots:
|
|||||||
void on_configurationImport_clicked();
|
void on_configurationImport_clicked();
|
||||||
void on_configurationDelete_clicked();
|
void on_configurationDelete_clicked();
|
||||||
void on_configurationLoad_clicked();
|
void on_configurationLoad_clicked();
|
||||||
void on_configurationTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
|
void on_configurationsTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
|
||||||
void on_configurationTree_itemActivated(QTreeWidgetItem *item, int column);
|
void on_configurationsTree_itemActivated(QTreeWidgetItem *item, int column);
|
||||||
void accept() override;
|
void accept() override;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
Loading…
Reference in New Issue
Block a user