Skip to content

Commit

Permalink
исправлены несуществующие переменные в yes_no_dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Nosok2011 authored Jul 25, 2023
1 parent 15a3f42 commit 42db236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prompt_toolkit/shortcuts/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def no_handler() -> None:
title=title,
body=Label(text=text, dont_extend_height=True),
buttons=[
Button(text=yes_text, handler=yes_handler, width=width),
Button(text=no_text, handler=no_handler, width=width),
Button(text=yes_text, handler=yes_handler, width=yes_width),
Button(text=no_text, handler=no_handler, width=no_width),
],
with_background=True,
)
Expand Down

0 comments on commit 42db236

Please sign in to comment.