MerginMaps / MerginMaps/mobile
Relations always show the "+" button even when the child table is read-only (as defined in the QGIS project properties) or a view
@xkello is already working on this.
Since Aug 25, 2026.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
**Description**
I have a project with two 1:n relations.
In the first one the child table is a postgresql view, which is read-only by definition.
In the second the child table is a postgresql table which has been set as read-only in the QGIS project properties.
In MM App no features can be added or edited directly in this tables/views or when passing from the relation widget, as expected, BUT...
when navigating the form for the parent table, when one of this relations is shown, the "+" button is always shown... and indeed by pressing it it will open the form as it would for a table that is editable. This also happens for the view.
I believe this should not show when the child is not editable... also because in QGIS Desktop this works as expected... in the meantime...
Is there a way to hide the "+" button, for example the same way as the "nogallery" trick?
**Application (+ app version, build, operating system)**
2026.3.2 Android 16.
**Steps to reproduce**
See above.
**Screenshots**
"+" button should not be there
by pressing it MM App allows to add a feature to table that is read only (or even a view)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.