Commit e4b74494 authored by Jan Möbius's avatar Jan Möbius
Browse files

Switch Menu Entry to right Texture on update

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3583 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fdee2908
......@@ -603,6 +603,13 @@ void TextureControlPlugin::slotSwitchTexture( QString _textureName ) {
slotTextureUpdated( _textureName , o_it->id() );
updateDialog();
QList<QAction *> menuEntries = actionGroup_->actions();
for ( int i = 0 ; i < menuEntries.size(); ++i ) {
if ( menuEntries[i]->text() == _textureName )
menuEntries[i]->setChecked(true);
}
}
}
......
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