Remove obsolete NED guard. Fixes #1
parent
be7098c822
commit
e0dfdac68d
|
@ -409,10 +409,6 @@ void Exdeath::btnApply_clicked(bool trigger) {
|
||||||
if (idx == 0) {
|
if (idx == 0) {
|
||||||
idx = dist(rand);
|
idx = dist(rand);
|
||||||
}
|
}
|
||||||
if ((idx == 1) && (mode > 1)) {
|
|
||||||
error->showMessage("You can't set a custom NED with this mode; it'll break.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (selNED->isEnabled() && (idx > 1)) {
|
if (selNED->isEnabled() && (idx > 1)) {
|
||||||
patches << ":/patches/ned/" + selNED->itemData(idx).toString() + ".ips";
|
patches << ":/patches/ned/" + selNED->itemData(idx).toString() + ".ips";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue