Fixed gravity settings dialog.
Merge pull request #377 from kubark42/gravity-dialog

Fixed gravity settings dialog.