Skip to content

Commit

Permalink
Pressing enter in style manager dialog should edit selected symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 11, 2021
1 parent 8426d0d commit 768b69c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/symbology/qgsstylemanagerdialog.cpp
Expand Up @@ -266,6 +266,8 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle *style, QWidget *parent,
connect( pasteShortcut, &QShortcut::activated, this, &QgsStyleManagerDialog::pasteItem );
QShortcut *removeShortcut = new QShortcut( QKeySequence( QKeySequence::StandardKey::Delete ), this );
connect( removeShortcut, &QShortcut::activated, this, &QgsStyleManagerDialog::removeItem );
QShortcut *editShortcut = new QShortcut( QKeySequence( Qt::Key_Return ), this );
connect( editShortcut, &QShortcut::activated, this, &QgsStyleManagerDialog::editItem );

shareMenu->addSeparator();
shareMenu->addAction( actnExportAsPNG );
Expand Down

0 comments on commit 768b69c

Please sign in to comment.