summaryrefslogtreecommitdiff
path: root/src/qcam
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam')
-rw-r--r--src/qcam/main_window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp
index c95d0973..5a2ac699 100644
--- a/src/qcam/main_window.cpp
+++ b/src/qcam/main_window.cpp
@@ -250,6 +250,9 @@ int MainWindow::openCamera()
return -EBUSY;
}
+ /* Set the combo-box entry with the currently selected Camera. */
+ cameraCombo_->setCurrentText(QString::fromStdString(cameraName));
+
return 0;
}