Permalink
Browse files

Fix a bug where raidz options are left enabled if user goes back and

picks a slice to install onto

Reported By: Josh Smith
  • Loading branch information...
1 parent c174ffd commit 0f9dbbc5c970f51d317f1a01274bb1e7dad6fca8 @kmoore134 kmoore134 committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-installgui/wizardDisk.cpp
@@ -794,7 +794,7 @@ void wizardDisk::generateCustomDiskLayout()
// If we have any additional ZFS mirror / raidz devices set it up now
QString zOpts, zDisk;
- if ( groupZFSOpts->isChecked() ) {
+ if ( groupZFSOpts->isChecked() && comboPartition->currentIndex() == 0 ) {
zOpts = comboZFSMode->currentText() + ":";
for ( int i = 0; i < listZFSDisks->count(); ++i )
if ( listZFSDisks->item(i)->checkState() == Qt::Checked ) {

0 comments on commit 0f9dbbc

Please sign in to comment.