Skip to content

Commit

Permalink
Graph panel widget: the legend context menu now works again (closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 30, 2017
2 parents 641e101 + 4702f71 commit 51cd480
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
3 changes: 1 addition & 2 deletions doc/downloads/index.js
Expand Up @@ -37,8 +37,7 @@ var jsonData = { "versions": [
}
],
"changes": [
{ "change": "<strong>Graph panel widget:</strong> now prevent the plot canvas can from becoming black in some cases (see issue <a href=\"https://github.com/opencor/opencor/issues/1475\">#1475</a>)." },
{ "change": "<strong>Simulation Experiment view:</strong> can now distinguish between the background colour of the plot area and that of the surrounding area (see issue <a href=\"https://github.com/opencor/opencor/issues/1473\">#1473</a>)." }
{ "change": "<strong>Graph panel widget:</strong> got the legend context menu to work again (see issue <a href=\"https://github.com/opencor/opencor/issues/1478\">#1478</a>)." }
]
},
{ "major": 0, "minor": 4, "patch": 1, "day": 20, "month": 5, "year": 2015, "type": 0,
Expand Down
23 changes: 23 additions & 0 deletions doc/downloads/previousSnapshots.js
@@ -1,4 +1,27 @@
var jsonData = { "versions": [
{ "major": 0, "minor": 0, "patch": 0, "day": 29, "month": 11, "year": 2017, "type": 2,
"platforms": [
{ "name": "Windows", "supported": "Windows 7 and later",
"files": [
{ "extension": ".exe" }, { "extension": ".zip" }
]
},
{ "name": "Linux", "supported": "Ubuntu 16.04 LTS (Xenial Xerus) and later",
"files": [
{ "extension": ".tar.gz" }
]
},
{ "name": "macOS", "supported": "OS X 10.10 (Yosemite) and later",
"files": [
{ "extension": ".dmg" }, { "extension": ".zip" }
]
}
],
"changes": [
{ "change": "<strong>Graph panel widget:</strong> now prevent the plot canvas can from becoming black in some cases (see issue <a href=\"https://github.com/opencor/opencor/issues/1475\">#1475</a>)." },
{ "change": "<strong>Simulation Experiment view:</strong> can now distinguish between the background colour of the plot area and that of the surrounding area (see issue <a href=\"https://github.com/opencor/opencor/issues/1473\">#1473</a>)." }
]
},
{ "major": 0, "minor": 0, "patch": 0, "day": 28, "month": 11, "year": 2017, "type": 2,
"platforms": [
{ "name": "Windows", "supported": "Windows 7 and later",
Expand Down
Expand Up @@ -790,7 +790,7 @@ void SimulationExperimentViewInformationGraphPanelAndGraphsWidget::toggleLegend(
{
// Toggle our legend property

Core::Property *legendProperty = mGraphPanelPropertyEditor->properties()[4];
Core::Property *legendProperty = mGraphPanelPropertyEditor->properties()[3];

legendProperty->setBooleanValue(!legendProperty->booleanValue());
}
Expand Down

0 comments on commit 51cd480

Please sign in to comment.