mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-02 21:49:43 +02:00
Mapping list context menu improvements
This commit is contained in:
@@ -263,11 +263,4 @@ uid MappingListModel::getItemId(const QModelIndex &index) const
|
||||
return mappingList.at(index.row()).id;
|
||||
}
|
||||
|
||||
void MappingListModel::setVisibility(const QModelIndex &index)
|
||||
{
|
||||
if (index.isValid() && index.column() == MM::HideColumn) {
|
||||
setData(index, !(mappingList.at(index.row()).isVisible), Qt::CheckStateRole);
|
||||
}
|
||||
}
|
||||
|
||||
MM_END_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user