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