Fully implement Units in PartDesign Pad
This commit is contained in:
@@ -201,6 +201,14 @@ std::vector<QString> InputField::getHistory(void)
|
||||
return res;
|
||||
}
|
||||
|
||||
void InputField::setToLastUsedValue(void)
|
||||
{
|
||||
std::vector<QString> hist = getHistory();
|
||||
if(hist.size()>0)
|
||||
this->setText(hist[0]);
|
||||
}
|
||||
|
||||
|
||||
void InputField::pushToSavedValues(const QString &valueq)
|
||||
{
|
||||
std::string value;
|
||||
|
||||
Reference in New Issue
Block a user