1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

notepad: use ref system for service

This commit is contained in:
bbedward
2025-10-16 23:01:48 -04:00
parent 72ad35e1f9
commit ce9ab22ae1
2 changed files with 16 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ Item {
signal hideRequested()
Ref {
service: NotepadStorageService
}
function hasUnsavedChanges() {
return textEditor.hasUnsavedChanges()
}