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

Improvement in ListButton clear() method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0.1
    • wtk
    • None
    • 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

              gbrown Gregory K. Brown
              luizgustavoss Luiz Gustavo Stábile de Souza
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: