forked from Public-Mirror/Textractor
fix target language check
Fixed target language check
This commit is contained in:
parent
ea6ddc7a7c
commit
7eb45899c0
@ -298,10 +298,10 @@ std::pair<bool, std::wstring> Translate(const std::wstring& text, DevTools* devT
|
|||||||
{
|
{
|
||||||
errorCode = 4;
|
errorCode = 4;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Check selected source language
|
// Check selected source language
|
||||||
if (errorCode == 0 && devTools->SendRequest("DOM.getAttributes", { {"nodeId", sourceLangId} }, root))
|
if (errorCode == 0 && devTools->SendRequest("DOM.getAttributes", { {"nodeId", sourceLangId} }, root))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user