Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityAttributeGridTable: fix deleting rows with default values #1532

Merged
merged 1 commit into from
Dec 7, 2016

Conversation

ericwa
Copy link
Collaborator

@ericwa ericwa commented Dec 7, 2016

Fixes #1527

I removed this comment:

TODO: when deleting a property that has a default value in the property definition, re-add it to the list of default properties...

because that seems to be implemented already (?)

@ericwa ericwa changed the base branch from develop to release/v2.0.0 December 7, 2016 04:40

Transaction transaction(document, StringUtils::safePlural(numRows, "Remove Attribute", "Remove Attributes"));
{
const SetBool ignoreUpdates(m_ignoreUpdates);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I didn't modify this code, just indented and wrapped it in {} to limit the lifetime of the SetBool.

@kduske
Copy link
Collaborator

kduske commented Dec 7, 2016

Did you try these changes on Windows or Mac only? The grid control behaves slightly differently on the different platforms.

@ericwa
Copy link
Collaborator Author

ericwa commented Dec 7, 2016

I tested on Mac only

@kduske
Copy link
Collaborator

kduske commented Dec 7, 2016

I checked it on Windows in the meantime, works fine there.

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.

None yet

2 participants