Commit 44f7a6de authored by Simone Gaiarin's avatar Simone Gaiarin Committed by Albert Astals Cid
Browse files

Do not unselect annotation tool in none selected

parent df028816
......@@ -1287,6 +1287,9 @@ void PageViewAnnotator::selectStampTool(const QString &stampSymbol)
void PageViewAnnotator::detachAnnotation()
{
if (m_lastToolId == -1) {
return;
}
selectBuiltinTool(-1, ShowTip::No);
if (!signatureMode()) {
if (m_actionHandler)
......
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