Changeset 391af6a in git for src/gfxcore.cc


Ignore:
Timestamp:
11/03/15 03:15:02 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
91756e4
Parents:
355809f
Message:

src/gfxcore.cc: Context menu on length key now allows toggling
"Metric", like it does on the depth key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gfxcore.cc

    r355809f r391af6a  
    34123412         * corresponds to which depth, date, survey closure error, etc. */
    34133413        menu.AppendCheckItem(menu_IND_COLOUR_KEY, wmsg(/*&Hide colour key*/386));
    3414         if (m_ColourBy == COLOUR_BY_DEPTH)
     3414        if (m_ColourBy == COLOUR_BY_DEPTH || m_ColourBy == COLOUR_BY_LENGTH)
    34153415            menu.AppendCheckItem(menu_CTL_METRIC, wmsg(/*&Metric*/342));
    34163416        menu.Connect(wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction)&wxEvtHandler::ProcessEvent, NULL, m_Parent->GetEventHandler());
Note: See TracChangeset for help on using the changeset viewer.