On mock backend, don't hide when toplevel is opened
Toplevels are only added on this backend when the workspaces view is shown.
This commit is contained in:
parent
81ea2f20d4
commit
e0c0f27f67
1 changed files with 1 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ impl Application for App {
|
||||||
img: None,
|
img: None,
|
||||||
});
|
});
|
||||||
// Close workspaces view if a window spawns while open
|
// Close workspaces view if a window spawns while open
|
||||||
|
#[cfg(not(feature = "mock-backend"))]
|
||||||
if self.visible {
|
if self.visible {
|
||||||
return self.hide();
|
return self.hide();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue