Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Infotext in plugin issues #40

Closed
ymoisan opened this issue Feb 16, 2016 · 1 comment
Closed

Infotext in plugin issues #40

ymoisan opened this issue Feb 16, 2016 · 1 comment

Comments

@ymoisan
Copy link
Contributor

ymoisan commented Feb 16, 2016

The infotext displayed on the left of the plugin menu shows inconsistencies.

  1. Deleting a group in legend does not trigger an update in the infotext

To reproduce :

  • add a working copy and click on the group : text info on the left of the plugin menu displays correctly
  • remove layer group : text info remains unchanged (still showing the previous SL filename or DB info for pg checkout)

The only way the user can get the text updated is by clicking on the legend; legend.clicked is the only signal handled in the plugin.

Solution : I tried looking quickly for a "group[item]Removed" type of signal but to no avail. LegendInterface seems to have that signal, but connecting to the on_legend_click member

self.iface.legendInterface().itemRemoved.connect(self.on_legend_click)

triggers an exception.

  1. A newly created "full mode" revision group (view button, "Compare selected revisions" unchecked) brings a "Versioning : unversioned schema" infotext
  2. A newly created "diff mode" revision group (view button, "Compare selected revisions" checked) brings a "Versioning : not versionable" infotext
@ymoisan ymoisan changed the title Deleting a group in legend does not trigger info text change in menu Infotext in plugin issues Feb 16, 2016
@SebastienPeillet
Copy link

Project migrated to : https://gitlab.com/Oslandia/qgis/qgis-versioning

@delhomer delhomer closed this as completed Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants