Skip to content

Commit

Permalink
Replace mainWindow by dataSetInfo (#62)
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 authored Oct 22, 2023
1 parent 25e9416 commit 96760b0
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 96760b0

Please sign in to comment.