From fd160e7969432f49b85a59a1ebc5d6e161a7c45d Mon Sep 17 00:00:00 2001 From: APTX Date: Thu, 12 Jan 2012 21:23:13 +0100 Subject: [PATCH] Possible fix for weird crash. --- file.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/file.cpp b/file.cpp index 61f8bd9..c1583b8 100644 --- a/file.cpp +++ b/file.cpp @@ -499,6 +499,9 @@ void File::startAdding() return; } + if (addingState() == InProgress) + return; + if (m_lid) { updateStatus(Adding, Success); -- 2.52.0