Commit eb542af5 authored by Mike Kremer's avatar Mike Kremer
Browse files

Finally managed to get light type icon working in datacontrol plugin.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9125 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3f6411b0
......@@ -298,10 +298,10 @@ void DataControlPlugin::slotCustomContextMenuRequested ( const QPoint & _pos ) {
action->setIcon(icon);
menu.addSeparator();
action = menu.addAction(tr("Switch On/Off"),this,SLOT ( slotSwitchLight() ));
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"datacontrol-lighttype.png");
icon = typeIcon(DATA_LIGHT);
action->setIcon(icon);
action = menu.addAction(tr("Edit Light"),this,SLOT ( slotEditLight() ));
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"datacontrol-lighttype.png");
icon = typeIcon(DATA_LIGHT);
action->setIcon(icon);
} else {
......
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