From aa3375c358093f9971f8c0ee43074991e40464e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=BCng?= Date: Thu, 30 Jan 2025 19:16:14 +0100 Subject: [PATCH] end the stop mode when starting a new thread closes #407 --- src/FileTree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FileTree.cpp b/src/FileTree.cpp index 585dce33..1c4e655b 100644 --- a/src/FileTree.cpp +++ b/src/FileTree.cpp @@ -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 @@ -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();