Opened 14 months ago

Closed 13 months ago

Last modified 5 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

Description

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 14 months ago.
Refresh property when switched to read-only mode.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 months ago by vadz

  • Status changed from new to confirmed

comment:2 Changed 14 months ago by awi

  • Keywords refresh added
  • Patch set

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

Changed 14 months ago by awi

Refresh property when switched to read-only mode.

comment:3 Changed 13 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.

comment:4 Changed 5 months ago by AW

In 78514/svn-wx:

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

Property grid is refreshed to reflect the new state of the property.

This is the backport of r76875.
See #16306.

comment:5 Changed 5 months ago by Artur Wieczorek <artwik@…>

In f6bf3de76d44e35944da85429a9a24c42c98854d/git-wxWidgets:

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

Property grid is refreshed to reflect the new state of the property.

This is the backport of r76875.
See #16306.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Note: See TracTickets for help on using tickets.