diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-01-16 10:54:24 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-01-16 10:54:24 +0000 |
| commit | 9a39d18bda3fe2ea5245d0f90ab6ef08df8d7c1b (patch) | |
| tree | 4ffed90b38035fd8f9e57db4a518e331a78728e3 /src | |
| parent | just a tiny refactoring (diff) | |
| download | inkscape-9a39d18bda3fe2ea5245d0f90ab6ef08df8d7c1b.tar.gz inkscape-9a39d18bda3fe2ea5245d0f90ab6ef08df8d7c1b.zip | |
Remember state of 'Relative to:' combo box in Align and Distribute dialog across sessions (closes LP #171086)
(bzr r4517)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/align-and-distribute.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp index 655a9428e..4846158a7 100644 --- a/src/ui/dialog/align-and-distribute.cpp +++ b/src/ui/dialog/align-and-distribute.cpp @@ -908,7 +908,7 @@ AlignAndDistribute::AlignAndDistribute() _combo.append_text(_("Drawing")); _combo.append_text(_("Selection")); - _combo.set_active(6); + _combo.set_active(prefs_get_int_attribute("dialogs.align", "align-to", 6)); _combo.signal_changed().connect(sigc::mem_fun(*this, &AlignAndDistribute::on_ref_change)); _anchorBox.pack_start(_anchorLabel); @@ -957,7 +957,10 @@ AlignAndDistribute::~AlignAndDistribute() } void AlignAndDistribute::on_ref_change(){ -//Make blink the master + + prefs_set_int_attribute("dialogs.align", "align-to", _combo.get_active_row_number()); + + //Make blink the master } |
