Browse Source

explicit tkinter import

Johann ELSASS 1 year ago
parent
commit
bfcac95ba8

+ 1 - 1
resources/scripts/layerfx_innerlight.py

@@ -3,7 +3,7 @@
 from lazpaint import dialog
 
 try:
-    from tkinter import *
+    from tkinter import Tk, Frame, Label, Scale, HORIZONTAL, Button, RIGHT, W, E
 except ImportError:
     dialog.show_message("Please install tkinter. On Debian distributions, use the command: apt install python3-tk")
     exit()

+ 1 - 1
resources/scripts/layerfx_innershadow.py

@@ -3,7 +3,7 @@
 from lazpaint import dialog
 
 try:
-    from tkinter import *
+    from tkinter import Tk, Frame, Label, Scale, HORIZONTAL, Button, RIGHT, W, E
 except ImportError:
     dialog.show_message("Please install tkinter. On Debian distributions, use the command: apt install python3-tk")
     exit()

+ 1 - 1
resources/scripts/layerfx_shadow.py

@@ -5,7 +5,7 @@
 from lazpaint import dialog
 
 try:
-    from tkinter import *
+    from tkinter import Tk, Frame, Label, Scale, HORIZONTAL, Button, RIGHT, W, E 
 except ImportError:
     dialog.show_message("Please install tkinter. On Debian distributions, use the command: apt install python3-tk")
     exit()

+ 1 - 1
resources/scripts/layerfx_stroke.py

@@ -3,7 +3,7 @@
 from lazpaint import dialog
 
 try:
-    from tkinter import *
+    from tkinter import Tk, Frame, Label, Scale, HORIZONTAL, Button, RIGHT, W, E
 except ImportError:
     dialog.show_message("Please install tkinter. On Debian distributions, use the command: apt install python3-tk")
     exit()