mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Replaced all NWidgets callback by proper signals
This commit is contained in:
@@ -60,7 +60,7 @@ NLoader {
|
||||
"source": "Tabs/About.qml"
|
||||
}]
|
||||
|
||||
onVisibleChanged: function () {
|
||||
onVisibleChanged: {
|
||||
if (visible)
|
||||
currentTabIndex = 0
|
||||
}
|
||||
@@ -188,7 +188,7 @@ NLoader {
|
||||
icon: "close"
|
||||
tooltipText: "Close settings panel"
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
onClicked: function () {
|
||||
onClicked: {
|
||||
settingsWindow.isLoaded = !settingsWindow.isLoaded
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user