Merge pull request #259 from cybermaggedon/fix-id-trigger

Modify the parsing of the 'id' trigger to match help
This commit is contained in:
Collin Kidder
2020-11-12 16:53:45 -08:00
committed by GitHub
+1 -1
View File
@@ -694,7 +694,7 @@ void FrameSenderWindow::processTriggerText(int line)
QString tok = trigToks.at(x);
if (tok.left(2) == "ID")
{
thisTrigger.ID = Utility::ParseStringToNum(tok.right(tok.length() - 3));
thisTrigger.ID = Utility::ParseStringToNum(tok.right(tok.length() - 2));
if (thisTrigger.maxCount == -1) thisTrigger.maxCount = 10000000;
if (thisTrigger.milliseconds == -1) thisTrigger.milliseconds = 0; //by default don't count, just send it upon trigger