From ddff0e6d128413c37aa3d9d15a8f73eda1d8a9d6 Mon Sep 17 00:00:00 2001 From: nicholasbishop Date: Fri, 12 Oct 2007 23:31:52 +0000 Subject: [PATCH] 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. --- src/ui/dialog/filter-effects-dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2