Skip to content

Commit b5b23a2

Browse files
committed
Update code docs
1 parent f8dc702 commit b5b23a2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/components_movies_MovieDetails.bs.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,11 @@
9393
if m.isFirstRun
9494
m.isFirstRun = false
9595
else
96-
' Trigger data refresh when returning to screen
97-
m.top.refreshMovieDetailsData = not m.top.refreshMovieDetailsData
96+
' don't refresh when closing OverviewDialog
97+
if not isValid(m.top.lastFocus) or m.top.lastFocus.id <> "itemDescription"
98+
' refresh screen when returning to it
99+
m.top.refreshMovieDetailsData = not m.top.refreshMovieDetailsData
100+
end if
98101
end if
99102
end sub
100103

0 commit comments

Comments
 (0)