diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-10 21:26:50 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-10 21:26:50 +0200 |
commit | d04b762e7fb505d649a51ad73ea2424d11f80c9b (patch) | |
tree | 05e9ea19ebd7202d5ecaefbb0af4e4091a8bff2c /src | |
parent | b878e5473c4ddb21b926557d0e38c0b46a2ffc79 (diff) |
Make window black after selecting a related video
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 37264d7..ad7e893 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1220,6 +1220,10 @@ namespace QuickMedia { if(!selected_item) continue; + // Make window black while the next video is loading, otherwise it will be stuck at the last view + related_media_window->clear(); + related_media_window->display(); + related_media_window.reset(); related_media_window_visible = false; |