Skip to content

Commit b6df560

Browse files
Update gguf-py/gguf/scripts/gguf_editor_gui.py
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent cf0f6fc commit b6df560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gguf-py/gguf/scripts/gguf_editor_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def edit_enum_value(self, row: int, enum_type: Type[enum.Enum]):
730730
buttons.rejected.connect(dialog.reject)
731731
layout.addWidget(buttons)
732732

733-
if dialog.exec_() == QDialog.DialogCode.Accepted:
733+
if dialog.exec() == QDialog.DialogCode.Accepted:
734734
# Update the value display and stored data
735735
new_value = combo.currentData()
736736
enum_val = enum_type(new_value)

0 commit comments

Comments
 (0)