mirror of
https://github.com/YACReader/yacreader
synced 2025-11-15 06:22:49 -05:00
Handle some nulls in qml
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user