Fixed bug 2922
Merge pull request #246 from goehle/pgediting

Fixed bug 2922