Skip to content

Commit 8973c9d

Browse files
authored
addressed bug for issue #140
1 parent 54b7067 commit 8973c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeGraphQt/base/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def set_pipe_style(self, style=PIPE_LAYOUT_CURVED):
545545
pipe_max = max([PIPE_LAYOUT_CURVED,
546546
PIPE_LAYOUT_STRAIGHT,
547547
PIPE_LAYOUT_ANGLE])
548-
style = style if 0 >= style >= pipe_max else PIPE_LAYOUT_CURVED
548+
style = style if 0 <= style <= pipe_max else PIPE_LAYOUT_CURVED
549549
self._viewer.set_pipe_layout(style)
550550

551551
def fit_to_selection(self):

0 commit comments

Comments
 (0)