-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fonts #80
Conversation
<width>369</width> | ||
<height>448</height> | ||
<width>773</width> | ||
<height>443</height> |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
No description provided.