Skip to content

Commit 0349aa9

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

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
@@ -1290,7 +1290,7 @@ def edit_metadata_enum(self):
12901290
buttons.rejected.connect(dialog.reject)
12911291
layout.addWidget(buttons)
12921292

1293-
if dialog.exec_() == QDialog.DialogCode.Accepted:
1293+
if dialog.exec() == QDialog.DialogCode.Accepted:
12941294
# Get the selected value
12951295
new_value = combo.currentData()
12961296
enum_val = enum_type(new_value)

0 commit comments

Comments
 (0)