mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Always set the newly created entry active. Currently we don't support multiple, but if the entry moves between statusbars sometimes we first create new one then destroy the old one and there's no active then..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1906 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1c9a8ab897
commit
8a5cda6167
@ -286,7 +286,6 @@ static void item_input(SBAR_ITEM_REC *item, int get_size_only)
|
||||
if (rec == NULL) {
|
||||
rec = gui_entry_create(item->xpos, item->bar->real_ypos,
|
||||
item->size);
|
||||
if (active_entry == NULL)
|
||||
gui_entry_set_active(rec);
|
||||
g_hash_table_insert(input_entries, item, rec);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user