From 7f8e08a83228915fe9fa29767e2d6143a746b5ef Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sun, 28 Jul 2019 18:19:49 +0200 Subject: [PATCH] fixed small bug in system module * only destroy root window if it was created --- bumblebee/modules/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/system.py b/bumblebee/modules/system.py index db7732a..312dc73 100644 --- a/bumblebee/modules/system.py +++ b/bumblebee/modules/system.py @@ -60,10 +60,10 @@ class Module(bumblebee.engine.Module): root.focus_set() do_it = tkmessagebox.askyesno(header, text) + root.destroy() if do_it: - bumblebee.util.execute(command) - root.destroy() + bumblebee.util.execute(command) def popup(self, widget):