summaryrefslogtreecommitdiffstats
path: root/src/dialogs/object-properties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/object-properties.cpp')
-rw-r--r--src/dialogs/object-properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/object-properties.cpp b/src/dialogs/object-properties.cpp
index 617e8a0d1..77d71b5fe 100644
--- a/src/dialogs/object-properties.cpp
+++ b/src/dialogs/object-properties.cpp
@@ -337,7 +337,7 @@ sp_fillstroke_selection_changed ( Inkscape::Application *inkscape,
case QUERY_STYLE_SINGLE:
case QUERY_STYLE_MULTIPLE_AVERAGED:
case QUERY_STYLE_MULTIPLE_SAME:
- NR::Rect bbox = selection->bounds();
+ NR::Rect bbox = sp_desktop_selection(SP_ACTIVE_DESKTOP)->bounds();
double perimeter = bbox.extent(NR::X) + bbox.extent(NR::Y);
gtk_widget_set_sensitive (b, TRUE);
//update blur widget value