box->set_border_width (6);
box->pack_end (focus_button, false, false);
box->pack_end (bypass_button, false, false, 4);
- box->pack_end (reset_button, false, false, 4);
+ if (insert->controls().size() > 0) {
+ box->pack_end (reset_button, false, false, 4);
+ }
box->pack_end (delete_button, false, false);
box->pack_end (save_button, false, false);
box->pack_end (add_button, false, false);