From: nicholasbishop Date: Fri, 12 Oct 2007 23:31:52 +0000 (+0000) Subject: Filter effects dialog: X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ddff0e6d128413c37aa3d9d15a8f73eda1d8a9d6;p=inkscape.git 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. --- 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);