Find Usages on "override val" in constructor asks about base usages

Also fix long-standing bug with "title" parameter being ignored when
displaying messages

 #KT-17845 Fixed
This commit is contained in:
Dmitry Jemerov
2017-05-16 15:46:52 +02:00
parent 8f38d03b48
commit 2cbb8d03c0
3 changed files with 7 additions and 4 deletions
@@ -25,7 +25,7 @@ import javax.swing.Icon
fun showYesNoCancelDialog(key: String, project: Project, message: String, title: String, icon: Icon, default: Int?): Int {
return if (!ApplicationManager.getApplication().isUnitTestMode) {
Messages.showYesNoCancelDialog(project, message, message, icon)
Messages.showYesNoCancelDialog(project, message, title, icon)
}
else {
callInTestMode(key, default)