Index: multistep.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/multistep/multistep.module,v
retrieving revision 1.1.2.2.2.21
diff -U3 -r1.1.2.2.2.21 multistep.module
--- multistep.module	28 Aug 2009 14:13:03 -0000	1.1.2.2.2.21
+++ multistep.module	28 Aug 2009 14:25:12 -0000
@@ -225,9 +225,9 @@
   );
   $form['multistep']['multistep_settings']['multistep_buttons'] = array(
     '#type' => 'checkbox',
-    '#title' => t('Hide standard buttons'),
+    '#title' => t('Hide Preview button'),
     '#default_value' => variable_get('multistep_buttons_' . $type, 0),
-    '#description' => t('Marking this option removes the Preview and Delete buttons from the form.'),
+    '#description' => t('Marking this option removes the Preview button from the form.'),
   );
   $form['multistep']['multistep_settings']['multistep_default'] = array(
     '#type' => 'radios',
@@ -375,16 +375,15 @@
   $form['buttons']['all'] = array(
     '#type' => 'item',
     '#value' => l('View ' . ($step == 0 ? 'multistep' : 'entire') . ' form', arg(0) . '/' . arg(1) . '/' . arg(2) . ($step == 0 ? '/1' : '/0')),
-    '#weight' => 14,
+    '#weight' => 16,
     '#access' => user_access('toggle multistep'),
   );
   // Remove extra buttons if not wanted.
   if (variable_get('multistep_buttons_' . $type, 0) == 1) {
-    unset($form['buttons']['delete']);
     unset($form['buttons']['preview']);
-    if (module_exists('uc_product') && uc_product_is_product_form($form)) {
-      unset($form['buttons']['save_continue']);
-    }
+  }
+  if (module_exists('uc_product') && uc_product_is_product_form($form)) {
+    unset($form['buttons']['save_continue']);
   }
   // This is removed in favor of the custom ones above
   unset($form['buttons']['submit']);
