From aa26e6f9de04a1da7799d512446b3e7d5f2b825c Mon Sep 17 00:00:00 2001 From: Gres Date: Fri, 6 Nov 2015 22:00:52 +0300 Subject: [PATCH] Set tray icon to processing state on retranslating edited text. --- Manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Manager.cpp b/Manager.cpp index edd0dbb..7f3a6f9 100644 --- a/Manager.cpp +++ b/Manager.cpp @@ -374,6 +374,8 @@ void Manager::editRecognized (ProcessingItem item) { NULL, tr ("Правка"), tr ("Исправьте распознанный текст"), item.recognized); if (!fixed.isEmpty ()) { item.recognized = fixed; + ++itemProcessingCount_; + updateNormalIcon (); emit requestTranslate (item); } }