mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
really disable the active tool when hiding the annotating toolbar, thanks Bart for pointing that out
svn path=/trunk/playground/graphics/okular/; revision=617023
This commit is contained in:
parent
0594e78bdc
commit
8add3d7863
|
@ -585,6 +585,8 @@ void PageViewAnnotator::setEnabled( bool on )
|
|||
if ( m_toolBar )
|
||||
m_toolBar->hideAndDestroy();
|
||||
m_toolBar = 0;
|
||||
// deactivate the active tool, if any
|
||||
slotToolSelected( -1 );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue