Skip to content

Commit

Permalink
#4426 only enable 'exit-with-application' if we have one
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 23, 2024
1 parent e289ac6 commit fbc0a66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xpra/gtk/dialogs/start_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ def populate_menus(self) -> None:
self.category_box.hide()
self.entry_label.set_text("Command:" if seamless else "Desktop Environment:")
self.entry_box.show_all()
self.exit_with_children_cb.set_sensitive(bool(self.entry.get_text()))
has_entry = bool(self.entry.get_text())
self.exit_with_children_cb.set_active(has_entry)
self.exit_with_children_cb.set_sensitive(has_entry)

def populate_category(self) -> None:
self.categories = {}
Expand Down

0 comments on commit fbc0a66

Please sign in to comment.