From 6dabb067733e0d27d71e56b9542a13b197e2065c Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 29 Jan 2016 10:13:38 +0100 Subject: Fixed screenshot functionality and splat visibility. --- main_view.qml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/main_view.qml b/main_view.qml index 800453e..2336e44 100644 --- a/main_view.qml +++ b/main_view.qml @@ -264,6 +264,7 @@ ApplicationWindow { checkable: true __checkbox.onClicked: { rpPlot.visible = this.checked; + splat.visible = this.checked; } GridLayout { @@ -298,12 +299,8 @@ ApplicationWindow { GroupBox { Layout.columnSpan: 2 + flat: true title: "Splat" - checkable: true - __checkbox.onClicked: { - splat.visible = this.checked; - colormap.visible = this.checked; - } GridLayout { columns: 2 @@ -417,8 +414,12 @@ ApplicationWindow { result.saveToFile("screenshot-main.png"); }); - bottomView.grabToImage(function(result) { - result.saveToFile("screenshot-bottom.png"); + bottomViewCP.grabToImage(function(result) { + result.saveToFile("screenshot-bottom-cp.png"); + }); + + bottomViewRP.grabToImage(function(result) { + result.saveToFile("screenshot-bottom-rp.png"); }); } } -- cgit v1.2.3