commit c9baf484227779badf8fde344a6531baeafaf896 Author: Tomas Touceda chiiph@gentoo.org Date: Tue May 3 16:45:34 2011 -0300
Fix issue with making bandwidth graph persistent --- src/vidalia/MainWindow.cpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp index 540af15..543bbc6 100644 --- a/src/vidalia/MainWindow.cpp +++ b/src/vidalia/MainWindow.cpp @@ -1536,7 +1536,10 @@ MainWindow::addTab(VidaliaTab *tab) if(_tabMap.contains(tab->getTitle())) { ui.tabWidget->setCurrentIndex(_tabMap.indexOf(tab->getTitle())); /** Exception for tabs that need to be always created */ - if(tab != _messageLog && tab != &_statusTab && tab != &_netViewer) + if (tab != _messageLog && + tab != &_statusTab && + tab != &_netViewer && + tab != _graph) tab->deleteLater(); return; }
tor-commits@lists.torproject.org