summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-10-12 23:31:52 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-10-12 23:31:52 +0000
commit8310ff6a084671b4b506e72fabb08734eec6aaf8 (patch)
tree6b39e5b7590eb6f6627c8a7980891facf18ec906
parentCommit patch 1787855: fix for [ 1723558 ] Command line export for emf files (diff)
downloadinkscape-8310ff6a084671b4b506e72fabb08734eec6aaf8.tar.gz
inkscape-8310ff6a084671b4b506e72fabb08734eec6aaf8.zip
Filter effects dialog:
Fixed bug with columns sizes; if filter primitives are added the treeview and dialog box get wider, but when the filter primitives are removed, the dialog can't be resized back to the smaller size. (bzr r3899)
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index d86aea55e..f512e5b35 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -1289,6 +1289,8 @@ void FilterEffectsDialog::PrimitiveList::update()
if(!active_found && _model->children().begin())
get_selection()->select(_model->children().begin());
+
+ columns_autosize();
}
else {
_dialog._primitive_box.set_sensitive(false);