# HG changeset patch # User Wuzzy # Date 1509303395 -3600 # Node ID e6af1eb9e8cee27446978d38ee1c3311d0334b34 # Parent fdb3730aa0e22b66d9774927ca85100cf2a839c3 Fix broken cancel button on the login window (bug 373) diff -r fdb3730aa0e2 -r e6af1eb9e8ce ChangeLog.txt --- a/ChangeLog.txt Sun Oct 29 19:06:02 2017 +0100 +++ b/ChangeLog.txt Sun Oct 29 19:56:35 2017 +0100 @@ -337,6 +337,7 @@ * Weapons scheme editor: When leaving, it no longer flickers and the selection is not reset to Default * Team editor: Fix old team being retained when renaming a team * Team editor: Automatically rename team when leaving team editor page with an already used team name + * Fix broken cancel button in the login window Content Creation: + Theme objects can now have more than 1 in-land rect specified. You can specify the amount in theme.cfg by adding another number (and a comma) before the first rect diff -r fdb3730aa0e2 -r e6af1eb9e8ce QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Oct 29 19:06:02 2017 +0100 +++ b/QTfrontend/hwform.cpp Sun Oct 29 19:56:35 2017 +0100 @@ -1526,11 +1526,11 @@ pwDialog->lePassword->setFocus(); } - //if dialog close, create an error message + //if dialog aborted, return failure if (pwDialog->exec() != QDialog::Accepted) { delete pwDialog; GoBack(); - break; + return 1; } //set nick and pass from the dialog