Fix skip connection validation still looking for child connections

This commit is contained in:
crschnick
2024-03-22 02:37:11 +00:00
parent bdc1444519
commit 4bbdd9315c

View File

@@ -174,7 +174,7 @@ public class StoreCreationComp extends DialogComp {
(e, validated) -> {
try {
DataStorage.get().addStoreEntryIfNotPresent(e);
if (e.getProvider().shouldHaveChildren()
if (validated && e.getProvider().shouldHaveChildren()
&& AppPrefs.get()
.openConnectionSearchWindowOnConnectionCreation()
.get()) {