use index instead of currentIndex function
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -250,7 +250,7 @@ void FlamePage::onVersionSelectionChanged(int index)
|
||||
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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user