Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-694

Improvement in ListButton clear() method

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: