Commit 0f2471ea authored by Mike Kremer's avatar Mike Kremer
Browse files

Added icon for ration lock function.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6c8339e3
......@@ -265,6 +265,7 @@ void CoreWidget::updatePopupMenuCoordsysNode(QMenu* _menu , const int /*_part*/
QAction* lockAction = viewingDirectionMenu->addAction("Lock rotation");
lockAction->setCheckable( true );
lockAction->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"lock_rotation.png") );
lockAction->setToolTip(tr("Lock rotation in current examiner"));
lockAction->setChecked( PluginFunctions::viewerProperties().rotationLocked() );
viewingDirectionMenu->addAction( lockAction );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment