Added agglwindow

This commit is contained in:
arcan1s
2013-08-09 19:45:42 +04:00
parent f7bdd89940
commit abf7bce7df
22 changed files with 4158 additions and 18 deletions

View File

@ -104,9 +104,7 @@ void AtomTypesWindow::on_atomTypes_comboBox_mol_currentIndexChanged(int index)
ui->atomTypes_comboBox_mol->addItem(QApplication::translate("AtomTypesWindow", "Add new molecule"));
ui->atomTypes_spinBox_numOfMol->setValue(num_of_mol[index]);
}
else if (index == -1)
return;
else
else if (index != -1)
{
ui->atomTypes_spinBox_numOfMol->setValue(num_of_mol[index]);
ui->atomTypes_listWidget->addItems(atomTypes[index].split(',', QString::SkipEmptyParts));