mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-06 10:35:46 +00:00
Added agglwindow
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user