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

Fonts #80

Merged
merged 6 commits into from
Dec 23, 2019
Merged

Fonts #80

merged 6 commits into from
Dec 23, 2019

Conversation

fundies
Copy link
Contributor

@fundies fundies commented Dec 23, 2019

No description provided.

<width>369</width>
<height>448</height>
<width>773</width>
<height>443</height>
Copy link
Member

Choose a reason for hiding this comment

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

lol... I'm so glad we have WYSIWYG for this shit

@@ -105,7 +109,7 @@ QModelIndex RepeatedProtoModel::index(int row, int column, const QModelIndex & /

Qt::ItemFlags RepeatedProtoModel::flags(const QModelIndex &index) const {
if (!index.isValid()) return nullptr;
return QAbstractItemModel::flags(index);
return QAbstractItemModel::flags(index) | Qt::ItemIsEditable;
Copy link
Member

Choose a reason for hiding this comment

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

Are we supposed to do this manually instead of telling our model it's editable? Do we always want these to be?

Copy link
Contributor Author

@fundies fundies Dec 23, 2019

Choose a reason for hiding this comment

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

It's easiest to just set the checkbox in the view designer to say its not editable

@JoshDreamland JoshDreamland merged commit 7a61a99 into enigma-dev:master Dec 23, 2019
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.

2 participants