fixed small bug in system module
* only destroy root window if it was created
This commit is contained in:
parent
1598275b25
commit
7f8e08a832
1 changed files with 2 additions and 2 deletions
|
@ -60,10 +60,10 @@ class Module(bumblebee.engine.Module):
|
||||||
root.focus_set()
|
root.focus_set()
|
||||||
|
|
||||||
do_it = tkmessagebox.askyesno(header, text)
|
do_it = tkmessagebox.askyesno(header, text)
|
||||||
|
root.destroy()
|
||||||
|
|
||||||
if do_it:
|
if do_it:
|
||||||
bumblebee.util.execute(command)
|
bumblebee.util.execute(command)
|
||||||
root.destroy()
|
|
||||||
|
|
||||||
|
|
||||||
def popup(self, widget):
|
def popup(self, widget):
|
||||||
|
|
Loading…
Reference in a new issue