Fix default bug in Pad dialog

This commit is contained in:
jriegel
2014-02-09 19:21:01 +01:00
parent a1af077d49
commit 4a4d851fb8
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]));
}