Update channels detail when HDR multiplied text is edited

This commit is contained in:
baldurk
2018-12-13 18:00:26 +00:00
parent a22a32c299
commit 1cb0f29198
+1
View File
@@ -517,6 +517,7 @@ TextureViewer::TextureViewer(ICaptureContext &ctx, QWidget *parent)
&TextureViewer::channelsWidget_selected);
QObject::connect(ui->hdrMul, OverloadedSlot<int>::of(&QComboBox::currentIndexChanged), this,
&TextureViewer::channelsWidget_selected);
QObject::connect(ui->hdrMul, &QComboBox::currentTextChanged, [this] { UI_UpdateChannels(); });
QObject::connect(ui->customShader, OverloadedSlot<int>::of(&QComboBox::currentIndexChanged), this,
&TextureViewer::channelsWidget_selected);
QObject::connect(ui->customShader, &QComboBox::currentTextChanged, [this] { UI_UpdateChannels(); });