I'm not sure if this is appropriate place to post bugfixes and pullrequest, so I'll try...
Bugreport - http://freecadweb.org/tracker/view.php?id=2533
Pullrequest - https://github.com/FreeCAD/FreeCAD/pull/213
I really need to read more on testing Freecad and I probably can provide some tests.ickby wrote: Something to think about in general: It would be nice if we could think of a way to check this stuff by unit tests. Unit tests is something I also did not do very often in the past, but more and more I have the feeling to fix bugs that have worked before, but without unit test regression testing this is hard to say. But I have no idea howto check if a dialog has come up or not and howto close it programatically...