OpenRA/OpenRA — pull request #6140 by Lukemtesta (2014-08-02 19:56:07+00:00)
Title:  Merge pull request #6082: Ctrl+Click Clear Queue on Paused Item

Regression tested - From what I can see no bugs or performance issues.

Order.cs : Line 241:
- Function ClearProduction() inputs new order to the ProductionQueue

ProductionQueue.cs: Line 323:
- Case statement "ClearProduction" counts number of items paused for item
- Deletes all paused items for that icon and returns appropriate fees if applicable

ProductionPaletteWidget.cs: HandleKeyPress(KeyInput e) && bool HandleEvent(ProductionIcon icon, bool isLeftClick)
- Former to remember Control is key up or down with bool (hold/release)
- Latter to call new production order "ClearProduction" for item LCtrl + Click on