Skip to content

Enable renaming custom property keys via double-click#4441

Open
bkvarma07 wants to merge 1 commit into
mapeditor:masterfrom
bkvarma07:rename-property-key
Open

Enable renaming custom property keys via double-click#4441
bkvarma07 wants to merge 1 commit into
mapeditor:masterfrom
bkvarma07:rename-property-key

Conversation

@bkvarma07
Copy link
Copy Markdown

This PR adds support for renaming custom property keys by double-clicking on the property label in the Properties view.

Implementation details:

  • Added handling of double-click events in PropertyLabel
  • Introduced a renameRequested signal in Property
  • Connected the signal in PropertiesView to open a rename dialog
  • Updates the property name using Property::setName()

Currently, this uses a dialog-based approach (QInputDialog) for renaming.

Future improvement:
The property name could be made editable inline (similar to value editing) for a smoother user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant