Bläddra i källkod

Fix entry in console

Daniele Bartolini 12 år sedan
förälder
incheckning
4cfb020446
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. 1 0
      tools/gui/console/gtk-gui/MainWindow.cs
  2. 1 0
      tools/gui/console/gtk-gui/gui.stetic

+ 1 - 0
tools/gui/console/gtk-gui/MainWindow.cs

@@ -97,5 +97,6 @@ public partial class MainWindow
 		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
 		this.ConnectAction.Activated += new global::System.EventHandler (this.OnConnectActivated);
 		this.entry1.Activated += new global::System.EventHandler (this.OnEntryActivated);
+		this.entry1.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnEntryKeyPressed);
 	}
 }

+ 1 - 0
tools/gui/console/gtk-gui/gui.stetic

@@ -90,6 +90,7 @@ Command</property>
                 <property name="IsEditable">True</property>
                 <property name="InvisibleChar">●</property>
                 <signal name="Activated" handler="OnEntryActivated" />
+                <signal name="KeyPressEvent" handler="OnEntryKeyPressed" />
               </widget>
               <packing>
                 <property name="Position">1</property>