Skip to content

Commit 79580be

Browse files
DelazJm-kuhn
authored andcommitted
Locked item can't be moved with arrow keys
1 parent 8270e10 commit 79580be

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/app/qgstipfactory.cpp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,17 @@ QgsTipFactory::QgsTipFactory() : QObject()
105105
addGuiTip( myTip );
106106
addGuiTip( myTip );
107107
// This tip contributed by Andreas Neumann
108-
myTip.setTitle( tr( "Lock an element in the layout view" ) );
108+
myTip.setTitle( tr( "Lock an item in the layout view" ) );
109109
myTip.setContent( tr( "Locking an element in the layout view prevents you to select or accidentally"
110-
" move it with the mouse. (Un)Locking an item is done by ticking its checkbox"
111-
" in the <strong>Items</strong> tab. While in a locked state, you can"
112-
" still get it selected from the <strong>Items</strong> tab, move it with the arrow keys"
113-
" or configure any of its properties in the <strong>Item Properties</strong> tab"
114-
" including precisely place it by setting its <strong>Position and Size</strong>."
115-
) );
110+
" move it with the mouse. Locking an item is done by checking its"
111+
" <img src=\":/images/themes/default/locked.svg\"/> state in the"
112+
" <strong>%1</strong> tab. While in a locked state, you can still get it"
113+
" selected from the <strong>%1</strong> tab, and configure any of its"
114+
" properties in the <strong>%2</strong> tab, including precisely setting"
115+
" its position and size." )
116+
.arg( tr( "Items" ) )
117+
.arg( tr( "Item Properties" ) )
118+
);
116119
addGuiTip( myTip );
117120
// This tip contributed by Andreas Neumann
118121
myTip.setTitle( tr( "Rotating a map and linking a north arrow" ) );

0 commit comments

Comments
 (0)