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

@@ -46,7 +46,7 @@ struct RequireRunnable : public BaseAction
: BaseAction(Type::MacroUtility, ""), m_action(action) { assert(action); }
protected:
virtual bool canBeRun() const;
virtual bool canBeRun();
virtual void run() { }
private:
@@ -59,7 +59,7 @@ struct RequireScreen : public BaseAction
: BaseAction(Type::MacroUtility, ""), m_screen_type(screen_type) { }
protected:
virtual bool canBeRun() const;
virtual bool canBeRun();
virtual void run() { }
private: