summaryrefslogtreecommitdiff
path: root/plugins/warp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-11-16 19:56:15 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-11-16 19:58:29 -0500
commit96bf5db56b14ed95e265aa02cc496a9e52d5172d (patch)
tree91d958102144bf98614a13809cf84b7d918bcc85 /plugins/warp
parent987d8bca5173ea13c8f96837997b746c5e478979 (diff)
[WARP] Fix unused rerun matcher checkbox when loading file on disk
Diffstat (limited to 'plugins/warp')
-rw-r--r--plugins/warp/src/plugin/load.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/plugin/load.rs b/plugins/warp/src/plugin/load.rs
index 6f8b562e..0b8d1672 100644
--- a/plugins/warp/src/plugin/load.rs
+++ b/plugins/warp/src/plugin/load.rs
@@ -49,7 +49,7 @@ impl RunMatcherField {
pub fn from_form(form: &Form) -> Option<bool> {
let field = form.get_field_with_name("Rerun Matcher")?;
- let field_value = field.try_value_index()?;
+ let field_value = field.try_value_int()?;
match field_value {
1 => Some(true),
_ => Some(false),