mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Fix TrayMenu crash after display wake. Add checks if screen exists, else set scaling to 1.0
TrayMenu: Replace PopupPanel with NPanel (for better loading & to prevent QS crash) Overview, Background etc: add screen checks, if it doesnt exist set scaling to 1.0
This commit is contained in:
@@ -16,6 +16,7 @@ import qs.Commons
|
||||
import qs.Modules.Launcher
|
||||
import qs.Modules.Background
|
||||
import qs.Modules.Bar
|
||||
import qs.Modules.Bar.Extras
|
||||
import qs.Modules.BluetoothPanel
|
||||
import qs.Modules.Calendar
|
||||
import qs.Modules.Dock
|
||||
@@ -99,6 +100,11 @@ ShellRoot {
|
||||
objectName: "archUpdaterPanel"
|
||||
}
|
||||
|
||||
TrayMenu {
|
||||
id: trayMenuPanel
|
||||
objectName: "trayMenu"
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
// Save a ref. to our lockScreen so we can access it easily
|
||||
PanelService.lockScreen = lockScreen
|
||||
|
||||
Reference in New Issue
Block a user