[longomatch] Fix focus for the event name
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix focus for the event name
- Date: Mon, 2 Feb 2015 17:03:21 +0000 (UTC)
commit bc26feb56bc8d9e689c44cd81ca2b28f579d1726
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Feb 2 18:01:11 2015 +0100
Fix focus for the event name
LongoMatch.GUI/Gui/Dialog/PlayEditor.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs b/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
index 2cf645f..86faadc 100644
--- a/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
+++ b/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
@@ -65,6 +65,8 @@ namespace LongoMatch.Gui.Dialog
tagsvbox.Visible = editTags;
nameentry.Text = play.Name;
+ nameentry.GrabFocus ();
+
if (editPos) {
tagger.LoadBackgrounds (project);
tagger.LoadPlay (play);
@@ -157,7 +159,6 @@ namespace LongoMatch.Gui.Dialog
{
if (play != null) {
play.Name = nameentry.Text;
- nameentry.GrabFocus ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]