Skip to content

Commit

Permalink
booru/image: Check curler is_active instead of m_Loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ahodesuka committed Nov 25, 2017
1 parent c94fe12 commit 1496f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/booru/image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void Image::load_pixbuf()

void Image::reset_pixbuf()
{
if (m_Loading)
if (m_Curler.is_active())
cancel_download();

AhoViewer::Image::reset_pixbuf();
Expand Down

0 comments on commit 1496f2e

Please sign in to comment.