tmf: Fix incorrect TimeGraphFilterDialog result when dialog shell closed
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 15 Sep 2015 15:27:07 +0000 (11:27 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Wed, 16 Sep 2015 14:00:58 +0000 (10:00 -0400)
commit5fe39e4a39445ed7c8e83c0b9e7ea708170d8ed1
tree63f20300bf554ce726e83ceafba49d53fdcbf327
parent5b475b1b61a19f7446a2112ad98c9f941f262021
tmf: Fix incorrect TimeGraphFilterDialog result when dialog shell closed

The result is set to null when the Cancel button is pressed. But when
the dialog shell is closed by pressing the [x] widget, the result
remains set to the value set the last time that the dialog was closed
with a button. The first time that the dialog is opened, the result is
initialized to an empty array, so closing the shell filters all items.

Change-Id: I82225608e54a233edc9fa7ee66dd826c55d50c52
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/55999
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/dialogs/TimeGraphFilterDialog.java
This page took 0.025431 seconds and 5 git commands to generate.