changeset 1920:ee491e720a6f

remove tab limit workaround from fltk2 Skimming through Fl_Tabs.cxx, I didn't see any obvious limits. More importantly, I held down ^T for a full minute, used the browser briefly, and then held down ^Q for a full minute. No problems seen.
author corvid <corvid@lavabit.com>
date Sat, 26 Feb 2011 19:07:08 +0000
parents e920355164cf
children eca772fd4540 67184dcd61d8
files src/uicmd.cc
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/uicmd.cc	Fri Feb 25 22:55:22 2011 +0100
+++ b/src/uicmd.cc	Sat Feb 26 19:07:08 2011 +0000
@@ -503,11 +503,6 @@
    BrowserWindow *old_bw = (BrowserWindow*)vbw;
    UI *ui = BW2UI(old_bw);
 
-   // WORKAROUND: limit the number of tabs because of a fltk bug
-   if (ui->tabs()->children() >= 127)
-      return a_UIcmd_browser_window_new(ui->window()->w(), ui->window()->h(),
-                                        0, vbw);
-
    // Create and set the UI
    UI *new_ui = new UI(0, 0, ui->w(), ui->h(), DEFAULT_TAB_LABEL, ui);
    new_ui->tabs(ui->tabs());