Skip to content

Commit

Permalink
Bug with custom camera displays fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
vilim committed Jan 22, 2019
1 parent 8c7d1ff commit f8c6fdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="stytra",
version="0.8.0",
version="0.8.1",
author="Vilim Stih, Luigi Petrucco @portugueslab",
author_email="vilim@neuro.mpg.de",
license="GPLv3+",
Expand Down
4 changes: 3 additions & 1 deletion stytra/gui/container_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ def __init__(
self.experiment.pipeline.all_params["diagnostics"],
"image")

self.drop_display.control.currentTextChanged.connect(self.camera_display.set_pos_from_tree)
if hasattr(self.camera_display, "set_pos_from_tree"):
self.drop_display.control.currentTextChanged.connect(
self.camera_display.set_pos_from_tree)

# Tracking params button:
self.button_tracking_params = IconButton(
Expand Down

0 comments on commit f8c6fdc

Please sign in to comment.