Various fixes

This commit is contained in:
crschnick
2026-01-28 09:57:59 +00:00
parent a83d0abec9
commit f4f1ab5884
4 changed files with 6 additions and 3 deletions
@@ -53,7 +53,8 @@ public class StoreChoiceComp<T extends DataStore> extends SimpleRegionBuilder {
Class<?> storeClass,
Predicate<DataStoreEntryRef<T>> applicableCheck,
StoreCategoryWrapper categoryRoot,
StoreCategoryWrapper explicitCategory) {
StoreCategoryWrapper explicitCategory,
boolean requireComplete) {
this.selected = selected;
this.popover = new StoreChoicePopover<>(
self,
@@ -30,7 +30,7 @@ public class CustomSpiceClient implements ExternalSpiceClient {
.nameAndDescription("customSpiceCommand")
.addComp(
new TextFieldComp(command, false)
.apply(struc -> struc.get().setPromptText("myspiceClient $FILE"))
.apply(struc -> struc.setPromptText("myspiceClient $FILE"))
.maxWidth(600),
command)
.bind(() -> CustomSpiceClient.builder().command(command.get()).build(), property);
@@ -216,7 +216,8 @@ public interface ScriptTextSource {
var sourceChoice = new StoreChoiceComp<>(null, ref, ScriptCollectionSourceStore.class,
ignored -> true,
StoreViewState.get().getAllScriptsCategory(),
StoreViewState.get().getScriptSourcesCategory());
StoreViewState.get().getScriptSourcesCategory(),
true);
var importButton = new ButtonComp(null, new LabelGraphic.IconGraphic("mdi2i-import"), () -> {
var current = AppDialog.getCurrentModalOverlay();
+1
View File
@@ -1961,3 +1961,4 @@ inPlaceScript=In-place script
generic=Generic
syncToPlainDirectory=Sync to plain directory
syncToPlainDirectoryDescription=When syncing to a local directory, you can either treat this directory as another git repository or just as a plain directory. If the plain directory setting is enabled, the directory is not initialized as a git repository.
openSpiceSession=Open SPICE session