summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 136f5c5..e709fe8 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -445,7 +445,7 @@ void MainWindow::cpr_clicked()
clear();
lbl_name->setText(oldname);
lbl_cpr->setText(oldcpr);
- camera->setCpr((char*)lbl_cpr->text().ascii());
+ camera->setCpr((char*)lbl_cpr->text().ascii(), (char*)lbl_name->text().ascii());
}
}