Issue #242: Tool Dialogs: Label at bottom doesn't update. (dismine/valentina)


#1

New issue 242: Tool Dialogs: Label at bottom doesn’t update. https://bitbucket.org/valentinateam/valentina/issue/242/tool-dialogs-label-at-bottom-doesnt-update

Felix Ulber:

Hi, steps to reproduce:

  1. draw with any tool
  2. in the tool’s dialog, select “Measurements” from “input data” area
  3. The top item of measurements is selected, and is also shown in the label at the bottom of the dialog
  4. Select any other input category which is still empty
  5. The old selection is still visible in the bottom label

I looked after how to fix it, but it was not completely simple, because the callback (slot) that sets this label is only called when item selection changes - which does not happen if a list widget is empty. I did not want to make bigger changes to the code before posting here.