Fix default bug in Pad dialog

This commit is contained in:
jriegel
2014-02-09 19:21:01 +01:00
parent c7e41c6150
commit 893f330043
2 changed files with 9 additions and 6 deletions

View File

@@ -205,7 +205,7 @@ void InputField::setToLastUsedValue(void)
{
std::vector<QString> hist = getHistory();
if(hist.size()>0)
this->setText(hist[0]);
this->setValue(Base::Quantity::parse(hist[0]));
}