Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 178 → Rev 179

/trunk/DBViewer/delegate.cpp
159,6 → 159,7
// editor->addItem("0");
 
editor->addItems(Name_list);
// editor->setEditable(false);
return editor;
}
//! [1]
197,7 → 198,7
if (value == "8") comboBox->setCurrentIndex(8);
if (value == "9") comboBox->setCurrentIndex(9);
******************************************************/
comboBox->setEditable(true);
comboBox->setEditable(false);
 
 
//comboBox->setItemText(0, value);