mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Handle some nulls in qml
This commit is contained in:
parent
0dd167b9ca
commit
f331b8c251
@ -499,8 +499,7 @@ SplitView {
|
||||
font.pixelSize: 21
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
text: currentComic.getTitleIncludingNumber()
|
||||
}
|
||||
text: currentComic ? currentComic.getTitleIncludingNumber() : "" }
|
||||
|
||||
Flow {
|
||||
spacing: 0
|
||||
|
@ -503,7 +503,7 @@ SplitView {
|
||||
font.pixelSize: 21
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
text: currentComic.getTitleIncludingNumber()
|
||||
text: currentComic?.getTitleIncludingNumber() ?? ""
|
||||
}
|
||||
|
||||
Flow {
|
||||
|
Loading…
Reference in New Issue
Block a user