Pivot
  1. Pivot
  2. PIVOT-694

Improvement in ListButton clear() method

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: wtk
    • Labels:
      None
    • Environment:
      Pivot 2.0
      Win 7

      Description

      I'm having problems with ListButton.
      When I try to clean a ListButton the last text selected before remains selected, even with no item in the ListData of the ListButton.
      I tried listButton.clear() and listButton.getListData().clear(), but with none of this I can scape the problem.
      I debugged the application, and the listData of the ListButton is clear after getListData().clear(), but the last selected text remains showing.
      See attached image.

      Perhaps listButton.setButtonData(null) should be performed in ListButton#clear().

      Cheers

      1. listButton problem.png
        67 kB
        Luiz Gustavo Stábile de Souza

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Greg Brown
              Reporter:
              Luiz Gustavo Stábile de Souza
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development