Small bug fixes

This commit is contained in:
crschnick 2023-10-25 15:38:57 +00:00
parent 9f0eb217f8
commit b410d8e863
3 changed files with 4 additions and 3 deletions

View file

@ -36,9 +36,9 @@ public class StoreEntryListComp extends SimpleComp {
() -> {
var all = StoreViewState.get().getAllConnectionsCategory();
var connections = StoreViewState.get().getAllEntries().stream().filter(wrapper -> all.contains(wrapper.getEntry())).toList();
return initialCount == connections.size();
return initialCount == connections.size() && StoreViewState.get().getActiveCategory().getValue().getRoot().equals(StoreViewState.get().getAllConnectionsCategory());
},
StoreViewState.get().getAllEntries());
StoreViewState.get().getAllEntries(), StoreViewState.get().getActiveCategory());
var map = new LinkedHashMap<Comp<?>, ObservableValue<Boolean>>();
map.put(
createList(),

View file

@ -240,6 +240,7 @@ public class AppMainWindow {
stage.show();
// Due to some weird GTK bug, we have to set these sizes every time we show a window even though they have been previously set
// This does not work every time however
stage.setX(stage.getX());
stage.setY(stage.getY());
stage.setWidth(stage.getWidth());

View file

@ -57,7 +57,7 @@ alacritty=Alacritty
tilda=Tilda
xterm=XTerm
deepinTerminal=Deepin Terminal
qterminal=QTerminal
qTerminal=QTerminal
recent=Recent
hostFeatureUnsupported=$FEATURE$ is not installed on the host
missingStore=$NAME$ does not exist