NightLight: fixed rightclick to open settings
This commit is contained in:
parent
91747c71f2
commit
d9c36a81c4
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import QtQuick.Controls
|
|||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import qs.Commons
|
||||
import qs.Modules.SettingsPanel
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
|
|
@ -25,7 +26,7 @@ NIconButton {
|
|||
|
||||
onRightClicked: {
|
||||
var settingsPanel = PanelService.getPanel("settingsPanel")
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.Display
|
||||
settingsPanel.requestedTab = SettingsPanel.Tab.Brightness
|
||||
settingsPanel.open(screen)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue