# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-03-07 17:18:26 # Node ID a20eb6fea911f3c31fc8d94d654779fe0b10ee89 # Parent 797268305b379239ef32b364e0182154302ce17a update port list on resource error diff --git a/mainwindow.cpp b/mainwindow.cpp --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -178,6 +178,7 @@ void MainWindow::onPortError(QSerialPort qDebug() << "Closing port on resource error: " << serialPort.portName(); togglePort(); } + loadPortList(); break; default: qDebug() << "Unhandled port error: " << error;