Skip to content

Commit

Permalink
#562 ui updates
Browse files Browse the repository at this point in the history
-combined selection label now shows the number of items selected
  • Loading branch information
ktechhydle committed Sep 3, 2024
1 parent 0eb4776 commit 5d31a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ def update_transform_ui(self):
self.properties_tab.selection_label.setText(item.toolTip())

if len(self.canvas.selectedItems()) > 1:
self.properties_tab.selection_label.setText('Combined Selection')
self.properties_tab.selection_label.setText(f'Combined Selection ({len(self.canvas.selectedItems())} Items)')
self.properties_tab.x_pos_spin.setValue(int(self.canvas.selectedItemsSceneBoundingRect().x()))
self.properties_tab.y_pos_spin.setValue(int(self.canvas.selectedItemsSceneBoundingRect().y()))

Expand Down

0 comments on commit 5d31a34

Please sign in to comment.