Commit 4203286a authored by Mike Kremer's avatar Mike Kremer

Added icon for ration lock function.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9202 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c3e9fb31
......@@ -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 );
......
Markdown is supported
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