Code

Filter effects dialog:
authornicholasbishop <nicholasbishop@users.sourceforge.net>
Fri, 12 Oct 2007 23:31:52 +0000 (23:31 +0000)
committernicholasbishop <nicholasbishop@users.sourceforge.net>
Fri, 12 Oct 2007 23:31:52 +0000 (23:31 +0000)
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

index d86aea55eb6f907c57e1bbd2a0b1fd8de7b8c4ef..f512e5b35c5c0dcf0182679ef1598043eedbd256 100644 (file)
@@ -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);