Skip to content

Commit af8d354

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

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
@@ -248,7 +248,7 @@ def edit_token_type(self, row, orig_idx):
248248
buttons.rejected.connect(dialog.reject)
249249
layout.addWidget(buttons)
250250

251-
if dialog.exec_() == QDialog.DialogCode.Accepted:
251+
if dialog.exec() == QDialog.DialogCode.Accepted:
252252
# Get the selected value
253253
new_value = combo.currentData()
254254
enum_val = TokenType(new_value)

0 commit comments

Comments
 (0)