Increase max prio to 10000

This commit is contained in:
0xb00bface 2021-09-06 15:14:32 +02:00
parent b591553c86
commit 37c2543554
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ public class RecordedModelsTab extends AbstractRecordedModelsTab implements TabS
private void updatePriority(JavaFxModel model, int priority) {
try {
if (priority < 0 || priority > 100) {
var msg = "Priority has to be between 0 and 100";
if (priority < 0 || priority > 1000) {
var msg = "Priority has to be between 0 and 1000";
Dialogs.showError(table.getScene(), "Invalid value", msg, null);
} else {
model.setPriority(priority);