Short Description: Qt4 Accounting WS: Fixed two problems with Supply Creation Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 Fixed two problems with Supply Creation: (1) The final mouse click in the Add Supply Operation was also bringing up a context menu -- when the right-mouse button was used for that. With this change, context menus will not be shown if either the (added) '_addSupplyOp_finishing' or '_addSupplyOp_active' flags are set. (2) As a result of Passthrough Account and Supply creation by the "Auto Passthrugh Account Creation" operation (AutoPassThruAcctCreationOp), the workspace is receiving redundant Supply Created notifications. This was resulting in redundant Supply QGraphicsItems being created. The Accounting Workspace now protects against itself that. ... This deserves further investigation -- a good debugger breakpoint is in the new method, WorkspaceGfxScene::checkCreateSupplyItem, in the redundancy detection. ----------------------------- QtUtils/WorkspaceGfxScene.hpp QtUtils/WorkspaceGfxScene.cpp QtUtils/SimObjGfxItem.cpp ----------------------------- (1) New members for the Unwanted Context Menu problem: bool _addSupplyOp_finishing; bool addSupplyOp_busy() const { return _addSupplyOp_active || _addSupplyOp_finishing; } void schedAddSupplyOp_finished(); void addSupplyOp_finishedTimeout(); (2) Added methods for Redundant Supply Items problem: TransferGfxItem* checkCreateTransferItem ( Supply*, AccountGfxItem*, AccountGfxItem*); SupplyGfxItem* checkCreateSupplyItem ( Supply*, AccountGfxItem*, AccountGfxItem*); ---------------------------- QtUtils/AccountGfxItem.cpp QtUtils/SupplyGfxItem.cpp QtUtils/TransferGfxItem.cpp ---------------------------- Diagnostics enhancements. Not active, of course. ---