overte-lubosz/interface/resources/qml/dialogs
LaShonda Hopper 33c8e90e34 [QML] Fixes FogBugz Case 6107: Can't sort on import menu (details below).
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
2017-09-13 16:25:36 -04:00
..
assetDialog
fileDialog
messageDialog
preferences Fixing Styling, added Preference to Tablet, Moved Location to Avatar Tuning 2017-07-25 01:48:55 +01:00
AssetDialog.qml
CustomQueryDialog.qml
FileDialog.qml [QML] Fixes FogBugz Case 6107: Can't sort on import menu (details below). 2017-09-13 16:25:36 -04:00
MessageDialog.qml
PreferencesDialog.qml
QueryDialog.qml
TabletAssetDialog.qml
TabletConnectionFailureDialog.qml
TabletCustomQueryDialog.qml
TabletFileDialog.qml Cleanup 2017-06-28 15:56:35 +02:00
TabletLoginDialog.qml
TabletMessageBox.qml
TabletQueryDialog.qml