Commit d1fd8b17 authored by Efe Çiftci's avatar Efe Çiftci Committed by Efe Çiftci

Changed signal of Annotate button in main window from pressed to clicked in...

Changed signal of Annotate button in main window from pressed to clicked in order to let annotation mode appear after button is released.
parent 647583a3
......@@ -160,7 +160,7 @@ void KSMainWindow::init()
mAnnotateButton->setToolTip(i18n("Add annotation to the screenshot"));
mAnnotateButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
mAnnotateButton->setIcon(QIcon::fromTheme(QStringLiteral("document-edit")));
connect(mAnnotateButton, &QToolButton::pressed, this, [this] {
connect(mAnnotateButton, &QToolButton::clicked, this, [this] {
if (mAnnotatorActive) {
mKSWidget->hideAnnotator();
......
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