Fix silly bug with icon not changing on the toolbar when the icon key changes.

This commit is contained in:
Petr Mrázek 2013-12-31 01:49:07 +01:00
parent 952b63f68d
commit ad7711b87c

View File

@ -639,10 +639,8 @@ void MainWindow::on_actionChangeInstIcon_triggered()
if (dlg.result() == QDialog::Accepted)
{
m_selectedInstance->setIconKey(dlg.selectedIconKey);
/*
auto ico = MMC->icons()->getIcon(dlg.selectedIconKey);
ui->actionChangeInstIcon->setIcon(ico);
*/
}
}