src/dialogs/ldrawpathdialog.cpp

changeset 1022
a7f8ce5aa858
parent 1014
f0a8ecb6a357
child 1072
9ce9496427f2
--- a/src/dialogs/ldrawpathdialog.cpp	Tue Feb 16 02:11:33 2016 +0200
+++ b/src/dialogs/ldrawpathdialog.cpp	Tue Feb 16 16:28:44 2016 +0200
@@ -85,8 +85,10 @@
 {
 	okButton()->setEnabled (ok);
 
-	if (statusText.isEmpty() && ok == false)
+	if (statusText.isEmpty() and not ok)
+	{
 		ui.status->setText ("---");
+	}
 	else
 	{
 		ui.status->setText (QString ("<span style=\"color: %1\">%2</span>")

mercurial