Update translations and help
This commit is contained in:
+4
-3
@@ -64,8 +64,9 @@ StretchToolbar::StretchToolbar(QWidget *parent) : QToolBar(tr("Stretch toolbar")
|
||||
emit paramChanged(m_mtfParam);
|
||||
});
|
||||
|
||||
QAction *rgbStretch = addAction(QIcon(":/link.png"), tr("Linked stretch"));
|
||||
QAction *rgbStretch = addAction(QIcon(":/link.png"), tr("Linked channels"));
|
||||
rgbStretch->setCheckable(true);
|
||||
rgbStretch->setChecked(true);
|
||||
connect(rgbStretch, &QAction::toggled, this, &StretchToolbar::unlinkStretch);
|
||||
|
||||
QAction *autoStretchButton = addAction(QIcon(":/nuke.png"), tr("Auto Stretch F12"));
|
||||
@@ -80,7 +81,7 @@ StretchToolbar::StretchToolbar(QWidget *parent) : QToolBar(tr("Stretch toolbar")
|
||||
invertButton->setCheckable(true);
|
||||
connect(invertButton, &QAction::toggled, this, &StretchToolbar::invert);
|
||||
|
||||
QAction *falseColorButton = addAction(QIcon(":/falsecolor.png"), tr("False color"));
|
||||
QAction *falseColorButton = addAction(QIcon(":/falsecolor.png"), tr("False colors"));
|
||||
falseColorButton->setCheckable(true);
|
||||
connect(falseColorButton, &QAction::toggled, this, &StretchToolbar::falseColor);
|
||||
|
||||
@@ -178,7 +179,7 @@ void StretchToolbar::imageLoaded(Image *img)
|
||||
|
||||
void StretchToolbar::unlinkStretch(bool enable)
|
||||
{
|
||||
if(enable)
|
||||
if(!enable)
|
||||
{
|
||||
m_stack->setCurrentIndex(1);
|
||||
m_mtfParam.blackPoint[0] = m_stfSliderR->blackPoint(); m_mtfParam.midPoint[0] = m_stfSliderR->midPoint(); m_mtfParam.whitePoint[0] = m_stfSliderR->whitePoint();
|
||||
|
||||
Reference in New Issue
Block a user