mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-08 11:31:22 -04:00
Small bug fixes
This commit is contained in:
1 parent
9f0eb217f8
commit
b410d8e863
3 files changed
+4
-3
No files matched your search
@@ -36,9 +36,9 @@ public class StoreEntryListComp extends SimpleComp {
|
|||||||
() -> {
|
() -> {
|
||||||
var all = StoreViewState.get().getAllConnectionsCategory();
|
var all = StoreViewState.get().getAllConnectionsCategory();
|
||||||
var connections = StoreViewState.get().getAllEntries().stream().filter(wrapper -> all.contains(wrapper.getEntry())).toList();
|
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>>();
|
var map = new LinkedHashMap<Comp<?>, ObservableValue<Boolean>>();
|
||||||
map.put(
|
map.put(
|
||||||
createList(),
|
createList(),
|
||||||
|
|||||||
@@ -240,6 +240,7 @@ public class AppMainWindow {
|
|||||||
stage.show();
|
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
|
// 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.setX(stage.getX());
|
||||||
stage.setY(stage.getY());
|
stage.setY(stage.getY());
|
||||||
stage.setWidth(stage.getWidth());
|
stage.setWidth(stage.getWidth());
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ alacritty=Alacritty
|
|||||||
tilda=Tilda
|
tilda=Tilda
|
||||||
xterm=XTerm
|
xterm=XTerm
|
||||||
deepinTerminal=Deepin Terminal
|
deepinTerminal=Deepin Terminal
|
||||||
qterminal=QTerminal
|
qTerminal=QTerminal
|
||||||
recent=Recent
|
recent=Recent
|
||||||
hostFeatureUnsupported=$FEATURE$ is not installed on the host
|
hostFeatureUnsupported=$FEATURE$ is not installed on the host
|
||||||
missingStore=$NAME$ does not exist
|
missingStore=$NAME$ does not exist
|
||||||
|
|||||||
Reference in new issue
Block a user