translates only the selected thread

This commit is contained in:
Blu3train 2022-06-02 15:58:20 +02:00
parent 24a199a8c4
commit 66b3c9a023

View File

@ -163,7 +163,7 @@ private:
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
{
if (sentenceInfo["text number"] == 0 || sentence.size() > maxSentenceSize) return false;
if (!sentenceInfo["current select"] || sentenceInfo["text number"] == 0 || sentence.size() > maxSentenceSize) return false;
static class
{