fixed bug in showing the list of cameras in the lensfun db

This commit is contained in:
Alberto Griggio
2017-09-08 09:35:49 +02:00
parent c8d9573606
commit bece5d19ed

View File

@@ -360,7 +360,7 @@ void LensProfilePanel::fillLensfunCameras()
for (auto &p : camnames) { for (auto &p : camnames) {
Gtk::TreeModel::Row row = *(lensfunCameraModel->append()); Gtk::TreeModel::Row row = *(lensfunCameraModel->append());
row[lensfunModelCam.make] = p.first; row[lensfunModelCam.make] = p.first;
row[lensfunModelCam.model] = ""; row[lensfunModelCam.model] = p.first;
for (auto &c : p.second) { for (auto &c : p.second) {
Gtk::TreeModel::Row child = *(lensfunCameraModel->append(row.children())); Gtk::TreeModel::Row child = *(lensfunCameraModel->append(row.children()));
child[lensfunModelCam.make] = p.first; child[lensfunModelCam.make] = p.first;