Skip to content

Commit

Permalink
fix: background should refresh after set background
Browse files Browse the repository at this point in the history
background should refresh after set background

Log:
  • Loading branch information
dengbo11 committed Jul 5, 2023
1 parent df6d688 commit 65399b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/modules/background/backgrounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ QVector<Background> Backgrounds::listBackground()
{
backgroundsMu->lock();

if (backgrounds.length() == 0 && fsChanged)
if (backgrounds.length() == 0 || fsChanged)
refreshBackground();

backgroundsMu->unlock();
Expand Down

0 comments on commit 65399b9

Please sign in to comment.