Skip to content
Snippets Groups Projects
Commit 2c64aa05 authored by kh1's avatar kh1
Browse files

Force the action to be really disabled.

parent 125d416a
No related branches found
No related tags found
No related merge requests found
...@@ -157,6 +157,7 @@ MaemoManager::addQemuSimulatorStarter(Project *project) ...@@ -157,6 +157,7 @@ MaemoManager::addQemuSimulatorStarter(Project *project)
m_qemuCommand = actionManager->registerAction(action, "MaemoEmulator", m_qemuCommand = actionManager->registerAction(action, "MaemoEmulator",
QList<int>() << Core::Constants::C_GLOBAL_ID); QList<int>() << Core::Constants::C_GLOBAL_ID);
modeManager->addAction(m_qemuCommand, 1); modeManager->addAction(m_qemuCommand, 1);
action->setEnabled(false);
m_qemuCommand->action()->setEnabled(false); m_qemuCommand->action()->setEnabled(false);
m_qemuCommand->setAttribute(Core::Command::CA_UpdateText); m_qemuCommand->setAttribute(Core::Command::CA_UpdateText);
m_qemuCommand->setAttribute(Core::Command::CA_UpdateIcon); m_qemuCommand->setAttribute(Core::Command::CA_UpdateIcon);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment