Generation fix

This commit is contained in:
Borna Rajković committed 2022-06-27 11:39:13 +02:00
1 parent 6ed60a2c26
commit edfd7fdf37
16 files changed
+108 -121

No files matched your search

+3 -2
View File
@@ -5,6 +5,7 @@
#include "error_dialog.h"
#include "warning_dialog.h"
#include "message_source.h"
#include <stdexcept>
namespace display {
@@ -91,7 +92,7 @@ namespace display {
value = domain::Value::fromInt(parseInt(string.toStdString()));
break;
default:
throw std::exception();
throw std::runtime_error("invalid value type in text change");
}
}
@@ -178,4 +179,4 @@ namespace display {
return errors;
}
}
}