Skip to content

Commit

Permalink
Replace mainWindow by dataSetInfo
Browse files Browse the repository at this point in the history
QML analysis files should not use objects that are not defined outside the QMLComponents library.

Cf jasp-stats/jasp-desktop#5281
  • Loading branch information
boutinb committed Oct 19, 2023
1 parent 3cfae04 commit 9e1e33e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/qml/LSTdescriptives.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Form
value: "dataVariable"
label: qsTr("Select variable")
id: dataTypeC
enabled: mainWindow.dataAvailable
enabled: dataSetInfo.dataAvailable
}
}

Expand Down Expand Up @@ -477,4 +477,4 @@ Form
}
}
}
}
}

0 comments on commit 9e1e33e

Please sign in to comment.