Skip to content

Commit

Permalink
Removed forgotten obsolete load_icon() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
titov-vv committed Feb 3, 2024
1 parent ea8a83e commit 5c9bd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jal/widgets/operations_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def balances_context_menu(self, pos):
index = self.ui.BalancesTableView.indexAt(pos)
account_id = self.balances_model.data(index, BalancesModel.ACCOUNT_ROLE)
contextMenu = QMenu(self.ui.BalancesTableView)
actionBalanceHistory = QAction(load_icon("chart.png"), self.tr("Balance history chart"), self)
actionBalanceHistory = QAction(JalIcon[JalIcon.CHART], self.tr("Balance history chart"), self)
actionBalanceHistory.triggered.connect(partial(self.show_balance_history_chart, account_id))
if account_id:
actionBalanceHistory.setEnabled(True)
Expand Down

0 comments on commit 5c9bd80

Please sign in to comment.