Commit 9a8e8303 authored by pixhawk's avatar pixhawk

Removed a bug where a line split ruined the serial interfacing of modems on Mac platform

parent cbb2f7ae
......@@ -490,7 +490,9 @@ void SerialConfigurationWindow::setParityEven()
void SerialConfigurationWindow::setPortName(QString port)
#ifdef _WIN32
port = port.split("-").first();
port = port.remove(" ");
if (this->link->getPortName() != port)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment