Qt: allow fixed fee policy in confirm_tx_dialog

Fixes #9662
This commit is contained in:
ThomasV
2025-05-05 11:30:14 +02:00
parent 5993f95282
commit 09e333fead
3 changed files with 16 additions and 4 deletions
+4 -2
View File
@@ -64,8 +64,10 @@ class FeeMethod(IntEnum):
@classmethod
def slider_index_of_method(cls, method):
i = FeeMethod.slider_values().index(method)
assert i is not None
try:
i = FeeMethod.slider_values().index(method)
except ValueError:
i = -1
return i