changeset 810 | a9295db4dcbf |
parent 807 | f9f7922989d8 |
child 814 | 31de6677aa96 |
1.1 --- a/mapeditor.cpp Wed Nov 25 15:28:05 2009 +0000 1.2 +++ b/mapeditor.cpp Thu Nov 26 14:55:23 2009 +0000 1.3 @@ -125,6 +125,7 @@ 1.4 1.5 a = new QAction( tr( "Edit heading","MapEditor" ), this); 1.6 a->setShortcut ( Qt::Key_Return ); //Edit heading 1.7 + a->setShortcutContext (Qt::WidgetShortcut); 1.8 addAction (a); 1.9 connect( a, SIGNAL( triggered() ), this, SLOT( editHeading() ) ); 1.10 a = new QAction( tr( "Edit heading","MapEditor" ), this);