From 5becf6d3e45ad68f1a2fd0ac25e63c24dbe2fb17 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sat, 15 Oct 2016 22:21:00 +0300 Subject: [PATCH] Disable 'confirm on exit' option checkbox --- youtube_dl_gui/optionsframe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl_gui/optionsframe.py b/youtube_dl_gui/optionsframe.py index 0bb9a0a..3d2e40e 100644 --- a/youtube_dl_gui/optionsframe.py +++ b/youtube_dl_gui/optionsframe.py @@ -279,6 +279,8 @@ class GeneralTab(TabPanel): self.shutdown_checkbox = self.crt_checkbox("Shutdown") self.sudo_textctrl = self.crt_textctrl(wx.TE_PASSWORD) + self.confirm_exit_checkbox.Disable() + self._set_layout() def _set_layout(self):