diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-10 14:41:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-10 14:41:39 (GMT) |
| commit | cd051924d9ca6d5c39e02111bc311fda9126435e (patch) | |
| tree | 43624435bfcab57e69fb12068f24cd2a0518dfaa /src/game/GameView.cpp | |
| parent | 643128ac5f6f159acf9eb31104dde19f4511d2b9 (diff) | |
| download | powder-cd051924d9ca6d5c39e02111bc311fda9126435e.zip powder-cd051924d9ca6d5c39e02111bc311fda9126435e.tar.gz | |
Installation with Ctrl+I, fixes #77
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 885b1e5..85d0e8d 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -1267,6 +1267,10 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool case '[': c->AdjustBrushSize(-1, !alt, shiftBehaviour, ctrlBehaviour); break; + case 'i': + if(ctrl) + c->Install(); + break; } if(key >= '0' && key <= '9') |
