[qet] [1909] Improved the look of the closing dialog when no diagram were modified.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1909
Author:   xavier
Date:     2012-07-13 19:34:31 +0200 (Fri, 13 Jul 2012)
Log Message:
-----------
Improved the look of the closing dialog when no diagram were modified.

Modified Paths:
--------------
    trunk/sources/closediagramsdialog.cpp

Modified: trunk/sources/closediagramsdialog.cpp
===================================================================
--- trunk/sources/closediagramsdialog.cpp	2012-07-13 14:01:12 UTC (rev 1908)
+++ trunk/sources/closediagramsdialog.cpp	2012-07-13 17:34:31 UTC (rev 1909)
@@ -138,7 +138,9 @@
 	Initialize layout.
 */
 void CloseDiagramsDialog::initLayout() {
-	setMinimumSize(650, 340);
+	if (diagrams_list_.count()) {
+		setMinimumSize(650, 340);
+	}
 	
 	QVBoxLayout *vlayout0 = new QVBoxLayout();
 	vlayout0 -> addWidget(informative_label1_);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/