Commit 77b4900b authored by Laurent Montel's avatar Laurent Montel 😁

Add new signal when currenttab changed

parent 42330225
......@@ -89,6 +89,7 @@ SieveEditorTextModeWidget::SieveEditorTextModeWidget(QWidget *parent)
textEditLayout->setMargin(0);
mTabWidget = new SieveEditorTabWidget;
connect(mTabWidget, &SieveEditorTabWidget::currentChanged, this, &SieveEditorTextModeWidget::sieveEditorTabCurrentChanged);
mTextToSpeechWidget = new KPIMTextEdit::TextToSpeechWidget(this);
textEditLayout->addWidget(mTextToSpeechWidget);
......
......@@ -106,6 +106,7 @@ Q_SIGNALS:
void undoAvailable(bool);
void redoAvailable(bool);
void copyAvailable(bool);
void sieveEditorTabCurrentChanged();
public Q_SLOTS:
void slotShowGoToLine();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment