Skip to content

Commit

Permalink
[FEATURE]: Composer items can also be deleted with the backspace key.…
Browse files Browse the repository at this point in the history
… Especially usefull for keyboards without delete (frequent e.g. on Macs)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14326 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 3, 2010
1 parent df67a27 commit e672337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscomposerview.cpp
Expand Up @@ -383,7 +383,7 @@ void QgsComposerView::keyPressEvent( QKeyEvent * e )
QList<QgsComposerItem*>::iterator itemIt = composerItemList.begin();

//delete selected items
if ( e->key() == Qt::Key_Delete )
if ( e->key() == Qt::Key_Delete || e->key() == Qt::Key_Backspace )
{
for ( ; itemIt != composerItemList.end(); ++itemIt )
{
Expand Down

0 comments on commit e672337

Please sign in to comment.