[GRASS-git] [OSGeo/grass] 802b3c: wxGUI: Make Display related toolbars part of Displ...

Linda Kladivova noreply at github.com
Wed Mar 24 13:04:55 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 802b3c84beaad21ad15056257e50f19ff6cb951c
      https://github.com/OSGeo/grass/commit/802b3c84beaad21ad15056257e50f19ff6cb951c
  Author: Linda Kladivova <49241681+lindakladivova at users.noreply.github.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M gui/wxpython/lmgr/frame.py
    M gui/wxpython/lmgr/toolbars.py

  Log Message:
  -----------
  wxGUI: Make Display related toolbars part of Display tab (#1321)

* The toolbar Data Toolbar and Vector Toolbar buttons are only visible for Display tab.
  - The buttons operate on the items in the Display tab.
  - Avoids the new issue created by Data tab re-using the "pencil" icon to allow editing of other mapsets
    (before this PR, user sees two of these icons above each other which is strange).
  - Avoids the confusion when Data tab is active and a user clicks the Show attribute... button
    which is associated with selected layer in Displays, not selected vector map in Data tab.
2. The new Data Toolbar now contains also NewDisplay button making the main toolbar a bit shorter than Display toolbar.

Fixes #1189.




More information about the grass-commit mailing list