Skip to content

Commit

Permalink
load_icon() calls were replaced by JalIcon class for UI-icons (forgot…
Browse files Browse the repository at this point in the history
…ten files)
  • Loading branch information
titov-vv committed Feb 3, 2024
1 parent f4e274e commit a793f9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file removed jal/img/reconcile.png
Binary file not shown.
8 changes: 4 additions & 4 deletions jal/widgets/operations_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ def operation_selection_change(self, selected, _deselected):
@Slot()
def operation_context_menu(self, pos):
contextMenu = QMenu(self.ui.OperationsTableView)
actionReconcile = QAction(load_icon("reconcile.png"), self.tr("Reconcile"), self)
actionReconcile = QAction(JalIcon[JalIcon.OK], self.tr("Reconcile"), self)
actionReconcile.triggered.connect(self.reconcile_at_current_operation)
actionTag = QAction(load_icon("tag.png"), self.tr("Assign tag"), self)
actionTag = QAction(JalIcon[JalIcon.TAG], self.tr("Assign tag"), self)
actionTag.triggered.connect(self.assign_tag)
actionCopy = QAction(load_icon("copy.png"), self.tr("Copy"), self)
actionCopy = QAction(JalIcon[JalIcon.COPY], self.tr("Copy"), self)
actionCopy.triggered.connect(self.ui.OperationsTabs.copy_operation)
actionDelete = QAction(load_icon("delete.png"), self.tr("Delete"), self)
actionDelete = QAction(JalIcon[JalIcon.REMOVE], self.tr("Delete"), self)
actionDelete.triggered.connect(self.delete_operation)
contextMenu.addAction(actionReconcile)
contextMenu.addSeparator()
Expand Down

0 comments on commit a793f9c

Please sign in to comment.