actions: move item selection to its own action and bind it to insert

This commit is contained in:
Andrzej Rybczak
2015-05-09 21:37:40 +02:00
parent ccb468592d
commit 38b1064f1f
25 changed files with 260 additions and 290 deletions

View File

@@ -29,12 +29,12 @@ void PushCharacters::run()
(*m_window)->pushChar(*it);
}
bool RequireRunnable::canBeRun() const
bool RequireRunnable::canBeRun()
{
return m_action->canBeRun();
}
bool RequireScreen::canBeRun() const
bool RequireScreen::canBeRun()
{
return Global::myScreen->type() == m_screen_type;
}