Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alpaca233 committed Feb 2, 2025
1 parent 4b2b6ac commit 538e8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion software/control/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3260,7 +3260,7 @@ def __init__(self, objectivestore, sample="glass slide", invertX=False, *args, *
print("navigation viewer:", sample)
self.init_ui(invertX)

self.load_background_image(self.image_paths.get(sample, "images/slide carrier_828x662.png"))
self.load_background_image(self.image_paths.get(sample, "images/4 slide carrier_1509x1010.png"))
self.create_layers()
self.update_display_properties(sample)
# self.update_display()
Expand Down
2 changes: 1 addition & 1 deletion software/control/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3196,7 +3196,7 @@ def add_components(self):
self.combobox_shape.addItems(["Square", "Circle", "Rectangle"])
else:
self.combobox_shape.addItems(["Square", "Circle", "Rectangle", "Manual"])
self.combobox_shape.model().item(2).setEnabled(False)
self.combobox_shape.model().item(3).setEnabled(False)
self.combobox_shape.setFixedWidth(btn_width)
# self.combobox_shape.currentTextChanged.connect(self.on_shape_changed)

Expand Down

0 comments on commit 538e8ac

Please sign in to comment.