diff options
author | corvid <corvid@lavabit.com> | 2011-05-27 15:20:08 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-05-27 15:20:08 +0000 |
commit | 57b8dfc2cce6d65927d11fbc15667b5a410fb3de (patch) | |
tree | ac057b3a599bbd2301183164a18631b091b49609 /src/ui.cc | |
parent | a5e0529ddbbebe32ca3a652e53926389fbd00379 (diff) |
rm fltk2 workaround
Haven't found any need for it with 1.3.
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -320,13 +320,8 @@ static void location_cb(Fl_Widget *wid, void *data) UI *ui = (UI*)data; _MSG("location_cb()\n"); - /* This test is necessary because WHEN_ENTER_KEY also includes - * other events we're not interested in. For instance pressing - * The Back or Forward, buttons, or the first click on a rendered - * page. BUG: this must be investigated and reported to FLTK2 team */ - if (Fl::event_key() == FL_Enter) { - a_UIcmd_open_urlstr(a_UIcmd_get_bw_by_widget(i), i->value()); - } + a_UIcmd_open_urlstr(a_UIcmd_get_bw_by_widget(i), i->value()); + if (ui->get_panelmode() == UI_TEMPORARILY_SHOW_PANELS) { ui->set_panelmode(UI_HIDDEN); } |