This ports the fix from FileDialog to TabletFileDialog.
* There appears to be 2 versions of this file:
* qml/dialogs/TabletFileDialog.qml
* qml/hifi/tablet/tabletWindows/TabletFileDialog.qml
Testing the tablet within desktop mode works without this fix most
likely because it uses qml/hifi/tablet/tabletWindows/TabletFileDialog.qml
which didn't receive the same refactor pass via d3282a4e.
Tested on Vive: Menu -> Edit -> Import Entities
Changes Committed:
modified: interface/resources/qml/dialogs/TabletFileDialog.qml
Looking through the log revealed the following warning:
".../qml/dialogs/FileDialog.qml:489: Error: Cannot assign to non-existent property 'sortOrder'"
There was some refactoring to address some HMD functionality in 51b44d90
which resulted in an update to fileTableView's model. This appears to be the point
at which sorting stopped working.
This updates the fileTableView's sorting methods to use fileTableModel as opposed
to fileTableView's model(filesModel). This appears safe given fileTableModel internally wraps
around filesModel and is responsible for updating its value. I'm relatively new
to QML/Qt; any comments or suggestions are welcome.
Tagging @vladest since they may want to be aware given 51b44d90.
Case Link:
https://highfidelity.fogbugz.com/f/cases/6107
Reviewed-by: Leander Hasty <leander@1stplayable.com>
Changes Committed:
modified: interface/resources/qml/dialogs/FileDialog.qml
Adds a new option in the Avatar Basics section of the Avatar Settings.
API Accessible Functions:
MyAvatar.getUseAlternativeHand()
MyAvatar.setUseAlternativeHand()
Defaults to false (Right Hand). Will return True if set to Left Hand.