dlgpreferences: remember last  geometry #1299949
dlgpreferences: remember last  geometry - code improvements
Merge pull request #218 from cardinot/dlgpreferences

dlgpreferences: remember last  geometry #1299949