Skip to content

Commit

Permalink
Update command.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadMuradG authored Sep 18, 2020
1 parent 6679f29 commit 1e1cbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/toga/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def icon(self, icon_or_name):
if isinstance(icon_or_name, Icon) or icon_or_name is None:
self._icon = icon_or_name
else:
self._icon = Icon(os.getcwd() + "/" + icon_or_name)
self._icon = Icon(icon_or_name)

if self._icon and self.factory:
self._icon.bind(self.factory)
Expand Down

0 comments on commit 1e1cbaf

Please sign in to comment.