diff options
author | Bogdan Gheorghe <gheorghe> | 2008-03-19 20:34:21 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2008-03-19 20:34:21 +0000 |
commit | 8dba171e724701063992fd369ae294580164dcb9 (patch) | |
tree | 824af8c08cb989bef30de2f97617f8ad9990b528 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | |
parent | 6242701c8cb8d3abdee5517ccc0e3b78fafed05c (diff) | |
download | eclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.tar.gz eclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.tar.xz eclipse.platform.swt-8dba171e724701063992fd369ae294580164dcb9.zip |
215204 read-only Combo.setText() does not fire Modify event on GTK
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java index b794fc4d8e..418a61e7bf 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java @@ -2035,6 +2035,7 @@ public void setText (String string) { OS.g_signal_handlers_block_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED); OS.gtk_combo_box_set_active (handle, index); OS.g_signal_handlers_unblock_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, CHANGED); + sendEvent (SWT.Modify); return; } } |