summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13223d2)
raw | patch | inline | side by side (parent: 13223d2)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 23 Dec 2007 22:42:29 +0000 (22:42 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 23 Dec 2007 22:42:29 +0000 (22:42 +0000) |
src/dialogs/guidelinedialog.cpp | patch | blob | history |
index b2c867e1e01ed2023c57453c565727ddbf283d87..dc52187f8152dc83ccaa971285f0bf9dd765ce77 100644 (file)
void GuidelinePropertiesDialog::_onApply()
{
- double const deg_angle = _spin_angle.get_value();
+ double deg_angle = _spin_angle.get_value();
+ if (!_mode)
+ deg_angle += _oldangle;
Geom::Point normal;
if ( deg_angle == 90. || deg_angle == 270. || deg_angle == -90. || deg_angle == -270.) {
normal = Geom::Point(1.,0.);