diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
| commit | 71d56fbe3ba5974505469d2c8b7efcdef4eb8adc (patch) | |
| tree | 7967193b6b8668bf0de9439a635e1bc9f80283a8 /src/wx/content_colour_conversion_dialog.cc | |
| parent | df89a39cfd34d0d70609daa214d3b618bb6223bd (diff) | |
Disable YUV->RGB conversion controls with non-YUV sources (#649).
Diffstat (limited to 'src/wx/content_colour_conversion_dialog.cc')
| -rw-r--r-- | src/wx/content_colour_conversion_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_colour_conversion_dialog.cc b/src/wx/content_colour_conversion_dialog.cc index e4e16157d..651e1dc66 100644 --- a/src/wx/content_colour_conversion_dialog.cc +++ b/src/wx/content_colour_conversion_dialog.cc @@ -32,9 +32,9 @@ using std::vector; using std::cout; using boost::optional; -ContentColourConversionDialog::ContentColourConversionDialog (wxWindow* parent) +ContentColourConversionDialog::ContentColourConversionDialog (wxWindow* parent, bool yuv) : wxDialog (parent, wxID_ANY, _("Colour conversion")) - , _editor (new ColourConversionEditor (this)) + , _editor (new ColourConversionEditor (this, yuv)) , _setting (false) { wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL); |
