mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
Use correct window title on mobile
Before it just displayed "okularkirigami" when no document was loaded
This commit is contained in:
parent
3ac4c8a81b
commit
f470c235ce
|
@ -53,7 +53,7 @@ Kirigami.ApplicationWindow {
|
|||
}
|
||||
contextDrawer: OkularDrawer {}
|
||||
|
||||
title: documentItem.windowTitleForDocument
|
||||
title: documentItem.windowTitleForDocument ? documentItem.windowTitleForDocument : i18n("Okular")
|
||||
Okular.DocumentItem {
|
||||
id: documentItem
|
||||
onUrlChanged: { currentPage = 0 }
|
||||
|
|
Loading…
Reference in a new issue