Skip to content
Permalink
Browse files
[FEATURE]: Composer items can also be deleted with the backspace key.…
… 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 e67233778e61cb090172dbd576e9c3e5d7ea5f85
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscomposerview.cpp
@@ -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 )
{

0 comments on commit e672337

Please sign in to comment.