From 37c25435549579574010332b3a78daf2a9681c98 Mon Sep 17 00:00:00 2001 From: 0xb00bface <0xboobface@gmail.com> Date: Mon, 6 Sep 2021 15:14:32 +0200 Subject: [PATCH] Increase max prio to 10000 --- .../main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java b/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java index dbb3517c..d6785c5d 100644 --- a/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java +++ b/client/src/main/java/ctbrec/ui/tabs/recorded/RecordedModelsTab.java @@ -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);