Opened 10 years ago

Closed 10 years ago

#2641 closed defect (fixed)

[PATCH] Layers menu entry for background layer is wrong at startup

Reported by: Travers Carter Owned by: cbro@…
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

When first starting Merkaartor it restores the previous background map layer (TMS/WMS/Yahoo etc) from the preferences, but the Layers menu doesn't correctly reflect the Map adaptor or visibiliy, instead always displaying "Map - None" with the "Visible" option not checked regardless of the actual adaptor or visibilily.

The layers dock does correctly reflect this information at startup.

The attached patch explicitly syncs the Layers menu entry title and visible flag when restoring the details from the preferences.

Attachments (1)

merkaartor-sync-layer-menu.patch (887 bytes) - added by Travers Carter 10 years ago.
Patch to sync the layers menu entry for the background map layer at startup

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Travers Carter

Patch to sync the layers menu entry for the background map layer at startup

comment:1 Changed 10 years ago by Chris Browet

Resolution: fixed
Status: newclosed

(In [19546]) ADD : Grabbing hand icon in signle mouse mode FIX : Layers menu entry for background layer is wrong at startup. Patch by Trav (closes #2641)

Note: See TracTickets for help on using tickets.