Skip to content
Permalink
Browse files

GUI.pyw: force Disable checks for unknown units when Skip core direct…

…ory is enabled
  • Loading branch information...
Elvish-Hunter committed Jan 19, 2015
1 parent 433fde9 commit 04f267e36b31ae81f2d2e7b94eee583ea0a6f6d4
Showing with 9 additions and 1 deletion.
  1. +9 −1 data/tools/GUI.pyw
@@ -476,14 +476,22 @@ class WmllintTab(Frame):
self.skip_variable=BooleanVar()
self.skip_core=Checkbutton(self.options_frame,
text="Skip core directory",
variable=self.skip_variable)
variable=self.skip_variable,
command=self.skip_core_dir_callback)
self.skip_core.grid(row=5,
column=0,
sticky=W,
padx=10)
self.columnconfigure(0,weight=1)
self.columnconfigure(1,weight=1)
self.columnconfigure(2,weight=1)
def skip_core_dir_callback(self):
if self.skip_variable.get():
self.known_variable.set(True)
self.known_check.configure(state=DISABLED)
else:
self.known_variable.set(False)
self.known_check.configure(state=NORMAL)

class WmlscopeTab(Frame):
def __init__(self,parent):

0 comments on commit 04f267e

Please sign in to comment.
You can’t perform that action at this time.