Opened 8 months ago

Closed 7 months ago

#16306 closed defect (fixed)

Changing property mode is not reflected immediatelly for selected property (wxPropertyGrid).

Reported by: awi Owned by: AW
Priority: normal Milestone:
Component: wxPropertyGrid Version: dev-latest
Keywords: property mode refresh Cc:
Blocked By: Blocking:
Patch: yes


This issue was originally reported in ticket:14945#comment:2 :
"propgrid sample can be used to reproduce the problem. In the 'Examples' page, there is a property labelled 'MultiChoiceProperty' which can be made read only by clicking the menu Basic->'Set as Read-Only'. Note: It is not becoming readonly immediately, but just click on some other property and then back to this property (another issue?). Now the editor dialog button is disabled."

Attachments (1)

Refresh-property-when-switched-to-read-only-mode.patch download (1.5 KB) - added by awi 8 months ago.
Refresh property when switched to read-only mode.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 months ago by vadz

  • Status changed from new to confirmed

comment:2 Changed 8 months ago by awi

  • Keywords refresh added
  • Patch set

Refreshing the property after changing the mode seems to fix the issue.

Changed 8 months ago by awi

Refresh property when switched to read-only mode.

comment:3 Changed 7 months ago by AW

  • Owner set to AW
  • Resolution set to fixed
  • Status changed from confirmed to closed

In 76875:

Refresh property grid when property is switched to read-only state.

Property grid is refreshed to reflect the new state of the property.
Small refactoring of wxPropertyGridInterface class: SetPropertyReadOnly() function body moved from header file to source file.

Closes #16306.

Note: See TracTickets for help on using tickets.