profile lens correction: show a warning if the lens profile has a crop factor greater than the selected camera

This commit is contained in:
Alberto Griggio
2017-09-12 08:25:45 +02:00
parent 84984422c7
commit ea5f8c3beb
5 changed files with 50 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ protected:
Gtk::RadioButton *corrUnchanged;
MyComboBox *lensfunCameras;
MyComboBox *lensfunLenses;
Gtk::Image *warning;
class LFDbHelper {
public:
@@ -86,6 +87,7 @@ protected:
bool setLensfunCamera(const Glib::ustring &make, const Glib::ustring &model);
bool setLensfunLens(const Glib::ustring &lens);
bool checkLensfunCanCorrect(bool automatch);
void updateLensfunWarning();
public: