Skip to content

Commit

Permalink
end the stop mode when starting a new thread
Browse files Browse the repository at this point in the history
closes #407
  • Loading branch information
stefankueng committed Jan 30, 2025
1 parent 6ddae6e commit aa3375c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FileTree.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of BowPad.
//
// Copyright (C) 2014-2024 - Stefan Kueng
// Copyright (C) 2014-2025 - Stefan Kueng
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -561,6 +561,7 @@ void CFileTree::Refresh(HTREEITEM refreshRoot, bool force /*= false*/, bool expa

void CFileTree::RefreshThread(HTREEITEM refreshRoot, const std::wstring& refreshPath, bool expanding)
{
m_bStop = false;
OnOutOfScope(m_threadsRunning = false;);

auto data = new FileTreeData();
Expand Down

0 comments on commit aa3375c

Please sign in to comment.