Skip to content

Commit

Permalink
Merge pull request #4302 from JordanGoulder/fix_fileitem_crash
Browse files Browse the repository at this point in the history
Remove call to Refresh() inside fileItemRenderer.Layout()
  • Loading branch information
dweymouth authored Oct 7, 2023
2 parents d530122 + ed8985d commit 15222ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dialog/fileitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func (s *fileItemRenderer) Layout(size fyne.Size) {
s.text.Resize(fyne.NewSize(size.Width, textMin.Height))
s.text.Move(fyne.NewPos(fileInlineIconSize, (size.Height-textMin.Height)/2))
}
s.text.Refresh()
}

func (s *fileItemRenderer) MinSize() fyne.Size {
Expand Down

0 comments on commit 15222ef

Please sign in to comment.