Skip to content
Snippets Groups Projects
Commit 59e51dc1 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

rm obsolete code

parent 486ec2b0
No related branches found
No related tags found
1 merge request!580Improve work flow; minor changes
......@@ -83,11 +83,6 @@ QComboBox* MesoCrystalForm::createBasisCombo(QWidget* parent, ItemWithParticles*
combo->setMaxVisibleItems(combo->count());
// combo->addItem("None", ""); // #baMigration ++ allow none? rm only if never can be none!
//
// if (current == nullptr)
// combo->setCurrentIndex(0);
//
const auto currentIndex = combo->findData(currentData);
ASSERT(currentIndex >= 0);
combo->setCurrentIndex(currentIndex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment