Fix out of Range

This commit is contained in:
Jan Schuffenhauer
2020-01-15 20:35:51 +01:00
parent 0e6ce309c9
commit 5f76f74cd5

View File

@@ -4,6 +4,7 @@
IntelliInputDialog::IntelliInputDialog(QEventLoop* Loop, QString Title, QString Label, int value, int minValue, int maxValue, int step)
{
this->valueInt = value;
createInputBox(Title, Label, value, minValue, maxValue, step);
createConnections(Loop);
setValuesOfPalette();
@@ -91,5 +92,5 @@ void IntelliInputDialog::slotCloseEvent(){
}
void IntelliInputDialog::slotEingabe(){
valueInt= QString("%1").arg(Input->value()).toInt();
valueInt = QString("%1").arg(Input->value()).toInt();
}