crash when reordering empty MQ queue
Created originally on Bitbucket by anpol (Andrei Polushin)
Using nighty build on Windows XP, tortoisehg-stable-2.0.5175.4337-x86-673ad80e42c2.msi
Prerequisite: MQ extension is enabled, "Patch Queue" docking window is displayed by default.
Steps to reproduce:
Start thg from the a directory of an existing repository. The repository patch queue should be empty.
In the "Patch Queue" docking window, note that the "Reorder patches" toolbar button is enabled (it shouldn't, because the queue is empty).
Press the "Reorder patches" toolbar button. The dialog is displayed.
Press the "Cancel" button in dialog.
The application crashes.