Skip to content

Commit 2eb7dc8

Browse files
committed
- Fixed "browse output path" button being connected twice in some tools
1 parent ff34c83 commit 2eb7dc8

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

tools/common_math_utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def smoothstep(a=0, b=1, x=.5):
5757

5858
def linstep(a, b, x):
5959
w = (x - a) / (b - a)
60-
# return min(max(w, 0), 1)
6160
return np.clip(w, 0.0, 1.0)
6261

6362

tools/loop_tool_UI.py

-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def setup_connections(self):
128128
add_ctx(self.st_width_dsb, [0, .25, .5, .75, 1])
129129

130130
# Output directory
131-
self.set_output_path_tb.clicked.connect(self.output_path_l.browse_path)
132131
default_dir = get_user_directory()
133132
desktop_dir = get_user_directory('Desktop')
134133
add_ctx(self.output_path_l, values=['', default_dir, desktop_dir],

tools/rename_tool_UI.py

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def setup_connections(self):
7070
super().setup_connections()
7171

7272
# Output path widgets
73-
self.set_output_path_tb.clicked.connect(self.output_path_l.browse_path)
7473
default_dir = get_user_directory()
7574
desktop_dir = get_user_directory('Desktop')
7675
add_ctx(self.output_path_l, values=['', default_dir, desktop_dir],

tools/st_tool_UI.py

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def setup_connections(self):
7979
self.ir_path_l.setEnabled(False)
8080

8181
# Output path widgets
82-
self.set_output_path_tb.clicked.connect(self.output_path_l.browse_path)
8382
default_dir = get_user_directory()
8483
desktop_dir = get_user_directory('Desktop')
8584
add_ctx(self.output_path_l, values=['', default_dir, desktop_dir],

0 commit comments

Comments
 (0)