Set tray icon to processing state on retranslating edited text.
This commit is contained in:
parent
8c6e6854e1
commit
aa26e6f9de
@ -374,6 +374,8 @@ void Manager::editRecognized (ProcessingItem item) {
|
|||||||
NULL, tr ("Правка"), tr ("Исправьте распознанный текст"), item.recognized);
|
NULL, tr ("Правка"), tr ("Исправьте распознанный текст"), item.recognized);
|
||||||
if (!fixed.isEmpty ()) {
|
if (!fixed.isEmpty ()) {
|
||||||
item.recognized = fixed;
|
item.recognized = fixed;
|
||||||
|
++itemProcessingCount_;
|
||||||
|
updateNormalIcon ();
|
||||||
emit requestTranslate (item);
|
emit requestTranslate (item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user