Skip to content

Commit

Permalink
use left/right nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
X-sam committed Jul 27, 2024
1 parent 5e4bfb2 commit f4ba43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/python/main/ayab/knitprogress.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def onStitchSelect(self, current: QTableWidgetItem | None) -> None:
self.__progbar.set_selection_label("")
return
if self.horizontalHeaderItem(current.column()).foreground().color().red() == 187:
side = "Green"
side = "Right"
else:
side = "Orange"
side = "Left"
selection_string = f"Selection: {self.verticalHeaderItem(current.row()).text()} , stitch {side}-{self.horizontalHeaderItem(current.column()).text()}"
self.__progbar.set_selection_label(selection_string)

0 comments on commit f4ba43a

Please sign in to comment.