From: Rene Gassmoeller <rene.gassmoeller@mailbox.org>
Date: Tue, 28 Mar 2017 20:33:44 +0000 (-0600)
Subject: Remove tooltip
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ae6e2dc98136e1336fb58bedd0fb9729b1c3f86;p=parameter_gui.git

Remove tooltip
---

diff --git a/xml_parameter_reader.cpp b/xml_parameter_reader.cpp
index a608ea4..29d1a7c 100644
--- a/xml_parameter_reader.cpp
+++ b/xml_parameter_reader.cpp
@@ -176,13 +176,6 @@ namespace dealii
                 {
                   QString documentation = xml.readElementText();			// store it
                   parent->setText(3, documentation);
-
-                  if (!documentation.isEmpty())						// if there is a documentation,
-                    {
-                      parent->setToolTip(0, "Documentation: " + documentation);		// set Documentation as ToolTip for both columns
-                      parent->setToolTip(1, "Documentation: " + documentation);
-                      parent->setStatusTip(0, "Documentation: " + documentation);	// and as StatusTip for the first column also
-                    };
                 }
               else if (xml.isStartElement() && xml.name() == "pattern")			// if it is <pattern>
                 {
@@ -196,6 +189,7 @@ namespace dealii
                   parent->setText(5, pattern_description);
 											// show the type and default
 											// in the StatusLine
+                  parent->setStatusTip(0, "Type: " + pattern_description + "   Default: " + parent->text(2));
                   parent->setStatusTip(1, "Type: " + pattern_description + "   Default: " + parent->text(2));
 
 						// in order to store values as correct data types,