summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_hatire')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
index 34ebbeb8..51d5918e 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
@@ -61,7 +61,8 @@ TrackerControls::TrackerControls() : theTracker(NULL), settingsDirty(false), tim
if (indxport!=-1) {
ui.cbSerialPort->setCurrentIndex(indxport);
} else {
- QMessageBox::warning(this,"FaceTrackNoIR Error", "Selected SerialPort modified");
+ if (settings.SerialPortName != "")
+ QMessageBox::warning(this,"FaceTrackNoIR Error", "Selected SerialPort modified");
ui.cbSerialPort-> setCurrentIndex(indxport);
}
}