Minor code cleaning.

This commit is contained in:
Maciej Suminski
2015-07-15 14:08:52 +02:00
parent 36d1818b54
commit 59af7a96f8
6 changed files with 42 additions and 37 deletions
+1 -1
View File
@@ -1029,7 +1029,7 @@ bool EDIT_TOOL::hoverSelection( const SELECTION& aSelection, bool aSanitize )
if( aSanitize )
m_selectionTool->SanitizeSelection();
if( aSelection.Empty() )
if( aSelection.Empty() ) // TODO is it necessary?
m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
return !aSelection.Empty();