After unsuccessfull search is now text cleared. Useful for barcode scanners. closes #299

This commit is contained in:
2017-04-25 20:48:57 +02:00
parent 8a651871d0
commit f85b1c75d3
+1
View File
@@ -512,4 +512,5 @@ void ShopForm::on_commoditySearch_returnPressed()
ShopItemPtr item = m_commodityModel->itemFromIndex(ui->commodityTable->currentIndex());
addItem(item, ui->spnCount->value());
}
ui->commoditySearch->clear();
}