Edit dialog via double click
This commit is contained in:
parent
3d2e182d4f
commit
c4d2fa3ffa
4 changed files with 22 additions and 16 deletions
|
|
@ -60,7 +60,8 @@ Qt::ItemFlags SongListModel::flags(const QModelIndex &index) const
|
|||
if (!index.isValid())
|
||||
return Qt::NoItemFlags;
|
||||
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;
|
||||
// Remove ItemIsEditable to prevent inline editing and double-click issues
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||||
}
|
||||
|
||||
void SongListModel::addSong(const SongItem &song)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue