diff options
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 31f3f48a9..6338f0f3f 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1356,8 +1356,8 @@ void DolphinMainWindow::rememberClosedTab(int index) } else { tabsMenu->insertAction(tabsMenu->actions().at(2), action); } - //10 is the limit, remove the oldest one to make room. It's actually 8, since - //the separator and the "Empty Recently Closed Tabs" entry count as one + + // assure that only up to 8 closed tabs are shown in the menu if (tabsMenu->actions().size() > 8) { tabsMenu->removeAction(tabsMenu->actions().last()); } |
