From 21858d928a432486dd2180498879b8a51d969288 Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com> Date: Thu, 6 Aug 2009 02:04:04 +0200 Subject: [PATCH] Clear text in the run dialog when it's hidden with escape --- js/ui/runDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index 9e84782a8..becac0a2f 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -87,7 +87,6 @@ RunDialog.prototype = { this._entry.connect('activate', Lang.bind(this, function (o, e) { this._run(o.get_text()); - this._entry.text = ''; this.close(); return false; })); @@ -138,6 +137,7 @@ RunDialog.prototype = { this._isOpen = false; this._group.hide(); + this._entry.text = ''; Main.endModal(); }