Increase max prio to 10000
This commit is contained in:
parent
b591553c86
commit
37c2543554
|
@ -190,8 +190,8 @@ public class RecordedModelsTab extends AbstractRecordedModelsTab implements TabS
|
||||||
|
|
||||||
private void updatePriority(JavaFxModel model, int priority) {
|
private void updatePriority(JavaFxModel model, int priority) {
|
||||||
try {
|
try {
|
||||||
if (priority < 0 || priority > 100) {
|
if (priority < 0 || priority > 1000) {
|
||||||
var msg = "Priority has to be between 0 and 100";
|
var msg = "Priority has to be between 0 and 1000";
|
||||||
Dialogs.showError(table.getScene(), "Invalid value", msg, null);
|
Dialogs.showError(table.getScene(), "Invalid value", msg, null);
|
||||||
} else {
|
} else {
|
||||||
model.setPriority(priority);
|
model.setPriority(priority);
|
||||||
|
|
Loading…
Reference in New Issue