use index instead of currentIndex function
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
e6bc61d6d0
commit
b0cd412926
@ -250,7 +250,7 @@ void FlamePage::onVersionSelectionChanged(int index)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_selected_version_index = ui->versionSelectionBox->currentIndex();
|
m_selected_version_index = index;
|
||||||
|
|
||||||
Q_ASSERT(current.versions.at(m_selected_version_index).downloadUrl == ui->versionSelectionBox->currentData().toString());
|
Q_ASSERT(current.versions.at(m_selected_version_index).downloadUrl == ui->versionSelectionBox->currentData().toString());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user