Skip to content

Commit

Permalink
Added call to fetch to ensure linking update and avoid losing formatt…
Browse files Browse the repository at this point in the history
…ing if called from worksheet level.
  • Loading branch information
ryfi committed Sep 25, 2023
1 parent 0b1d65c commit ed3b6d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygsheets/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def hyperlink(self):

@hyperlink.setter
def hyperlink(self, hyperlink):
if self._simplecell:
self.fetch()
self._hyperlink = hyperlink
self.update()

Expand Down

0 comments on commit ed3b6d6

Please sign in to comment.