Skip to content

Commit

Permalink
Fix warning: TypeError: Cannot read property 'height'/'width' of null.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Sep 12, 2024
1 parent 14ee656 commit 2006fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/filedetails/FileDetailsView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ StackView {

initialItem: FileDetailsPage {
id: fileDetailsPage
width: parent.width
height: parent.height
width: root.width
height: root.height
backgroundsVisible: root.backgroundsVisible
rootStackView: root
onCloseButtonClicked: root.closeButtonClicked()
Expand Down

0 comments on commit 2006fec

Please sign in to comment.