Commit 496e034a authored by Mike Kremer's avatar Mike Kremer
Browse files

Use light type icon for switch action.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9007 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5febc83a
......@@ -295,8 +295,8 @@ void DataControlPlugin::slotCustomContextMenuRequested ( const QPoint & _pos ) {
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"datacontrol-delete-item.png");
action->setIcon(icon);
action = menu.addAction(tr("Switch On/Off"),this,SLOT ( slotSwitchLight() ));
//icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"datacontrol-switch-light.png");
//action->setIcon(icon);
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"LightType.png");
action->setIcon(icon);
} else {
action = menu.addAction(tr("Zoom to object"),this,SLOT ( slotZoomTo() ));
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"zoom-in.png");
......
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