-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add possibility to reset column types when changing the ordinal threshold #5392
Conversation
…hold Fixes jasp-stats/jasp-issues#2426 If you change the threshold between Categorical and Scale, it might be handy to reset the variable types with this new value. I have also redesigned a bit the Preferences/Data to have the same look as the other preferences memus.
Seems the build test failed. |
|
Forget again to update preferencesmodel.cpp.in in place of preferencesmodel.cpp... |
6809f53
to
ce776fc
Compare
ce776fc
to
954c648
Compare
@@ -25,7 +25,7 @@ DataSetTableModel::DataSetTableModel(bool showInactive) | |||
{ | |||
|
|||
connect(DataSetPackage::pkg(), &DataSetPackage::columnsFilteredCountChanged, this, &DataSetTableModel::columnsFilteredCountChanged ); | |||
connect(DataSetPackage::pkg(), &DataSetPackage::columnDataTypeChanged, this, &DataSetTableModel::columnTypeChanged ); | |||
connect(DataSetPackage::pkg(), &DataSetPackage::columnDataTypeChanged, this, [&](QString colName) { emit columnTypeChanged(colName, int(DataSetPackage::pkg()->getColumnType(colName))); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lekker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better like this
Fixes jasp-stats/jasp-issues#2426
If you change the threshold between Categorical and Scale, it might be handy to reset the variable types with this new value.
I have also redesigned a bit the Preferences/Data to have the same look as the other preferences menus.