fix frame sender window modifier bug
This commit is contained in:
@@ -723,7 +723,7 @@ void FrameSenderWindow::processModifierText(int line)
|
|||||||
|
|
||||||
//yeah, lots of operations on this one line but it's for a good cause. Removes the convenience English versions of the
|
//yeah, lots of operations on this one line but it's for a good cause. Removes the convenience English versions of the
|
||||||
//logical operators and replaces them with the math equivs. Also uppercases and removes all superfluous whitespace
|
//logical operators and replaces them with the math equivs. Also uppercases and removes all superfluous whitespace
|
||||||
modString = ui->tableSender->item(line, 8)->text().toUpper().trimmed().replace("AND", "&").replace("XOR", "^").replace("OR", "|").replace(" ", "");
|
modString = ui->tableSender->item(line, 9)->text().toUpper().trimmed().replace("AND", "&").replace("XOR", "^").replace("OR", "|").replace(" ", "");
|
||||||
if (modString != "")
|
if (modString != "")
|
||||||
{
|
{
|
||||||
QStringList mods = modString.split(',');
|
QStringList mods = modString.split(',');
|
||||||
|
|||||||
Reference in New Issue
Block a user