Generation fix
This commit is contained in:
1 parent
6ed60a2c26
commit
edfd7fdf37
16 files changed
+108
-121
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user