Skip to content

Commit

Permalink
call launch() on Yes even if no cmd given
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Apr 18, 2024
1 parent 8808939 commit 97aa5b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nwg_shell_config/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,8 @@ def main():

window.show_all()

if args.cmd:
btn_y.connect("clicked", launch)
btn_y.grab_focus()
btn_y.connect("clicked", launch)
btn_y.grab_focus()

Gtk.main()

Expand Down

0 comments on commit 97aa5b7

Please sign in to comment.