summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/preferences-widget.cpp
diff options
context:
space:
mode:
authorBruno Dilly <bruno.dilly@gmail.com>2007-08-08 05:47:10 +0000
committerbdilly <bdilly@users.sourceforge.net>2007-08-08 05:47:10 +0000
commitb731e2b6d697648fc74a9a66eb66586870279e91 (patch)
treecdc7d1b2f260098a377c0ffc3b118032133fdd88 /src/ui/widget/preferences-widget.cpp
parentFilter effects dialog: (diff)
downloadinkscape-b731e2b6d697648fc74a9a66eb66586870279e91.tar.gz
inkscape-b731e2b6d697648fc74a9a66eb66586870279e91.zip
export to ocal bug fix
(bzr r3418)
Diffstat (limited to 'src/ui/widget/preferences-widget.cpp')
-rw-r--r--src/ui/widget/preferences-widget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp
index a6302aa9d..e1671e5b1 100644
--- a/src/ui/widget/preferences-widget.cpp
+++ b/src/ui/widget/preferences-widget.cpp
@@ -277,13 +277,12 @@ void PrefEntry::init(const std::string& prefs_path, const std::string& attr,
this->set_text(prefs_get_string_attribute(_prefs_path.c_str(), _attr.c_str()));
}
-void PrefEntry::on_activate()
+void PrefEntry::on_changed()
{
if (this->is_visible()) //only take action if user changed value
{
prefs_set_string_attribute(_prefs_path.c_str(), _attr.c_str(), this->get_text().c_str());
}
- return;
}
} // namespace Widget