Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment