Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 179 → Rev 178

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