while I was testing, found a bug on the settings. this patch fixes it. :)

On Sat, Sep 20, 2014 at 1:45 PM, Tomaz Canabrava <[email protected]> wrote:

> Fix crash, fix show all dives when nothing is selected.
>
>
From e2019b5a878871cbcfcd0210ec6e210194cf8e07 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <[email protected]>
Date: Sat, 20 Sep 2014 17:56:56 -0300
Subject: [PATCH 3/3] Fix typo that broke settings.

A small typo broke the disabling of the graphs for the
newly added curves. ( btw, we need a designer to display
the graphs in a better way, just too much information. )

Signed-off-by: Tomaz Canabrava <[email protected]>
---
 qt-ui/mainwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 30227a4..dfe8a23 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -815,7 +815,7 @@ void MainWindow::readSettings()
 	TOOLBOX_PREF_BUTTON(show_sac, show_sac, profSAC);
 	TOOLBOX_PREF_BUTTON(show_pictures_in_profile, show_pictures_in_profile, profTogglePicture);
 	TOOLBOX_PREF_BUTTON(tankbar, tankbar, profTankbar);
-	TOOLBOX_PREF_BUTTON(percentagegraph, precentagegraph, profTissues);
+	TOOLBOX_PREF_BUTTON(percentagegraph, percentagegraph, profTissues);
 	s.endGroup();
 	s.beginGroup("DiveComputer");
 	default_dive_computer_vendor = getSetting(s, "dive_computer_vendor");
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
  • [no subject] Tomaz Canabrava
    • Re: Tomaz Canabrava
      • Re: Tomaz Canabrava
        • Re: Dirk Hohndel
          • Re: Tomaz Canabrava
            • Re: Salvador Cuñat

Reply via email to