That was a stupid mistake....yes it was! But the combobox is still set to the first item. This doesn't seem to be working:
nameIndex=ui->cmbName->currentIndex();//should get the current index to load later but for some reason always gets set to 0
updateNameComboBox();
ui->cmbName->setCurrentIndex(nameIndex);//the combobox returns to the first item
nameIndex=ui->cmbName->currentIndex();//should get the current index to load later but for some reason always gets set to 0
updateNameComboBox();
ui->cmbName->setCurrentIndex(nameIndex);//the combobox returns to the first item
To copy to clipboard, switch view to plain text mode
name index is always 0.
Bookmarks