| Index: runtime/bin/vmservice/client/lib/src/observatory/chart.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory/chart.dart b/runtime/bin/vmservice/client/lib/src/observatory/chart.dart
|
| index dc3f1923da8f7e25e1753be2d52815711ba448a5..37204e636a9b1ee6e2a4fb8e4d025bb0de937c8b 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory/chart.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory/chart.dart
|
| @@ -93,12 +93,11 @@ class Chart {
|
| /// with the current sort settings.
|
| void refreshOptionsSortInfo() {
|
| var props = _chart.callMethod('getSortInfo');
|
| - print(options);
|
| - if (props != null) {
|
| + if ((props != null) && (props['column'] != -1)) {
|
| + // Preserve current sort settings.
|
| options['sortColumn'] = props['column'];
|
| options['sortAscending'] = props['ascending'];
|
| }
|
| - print(options);
|
| }
|
|
|
| /// Draw this chart using [table] and the current [options].
|
|
|