[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [vidalia/alpha] Show when opening tabs while not visible



commit 08b76816ad4f59a2346843273ac2baf9c8d86d5b
Author: Tomas Touceda <chiiph@xxxxxxxxxx>
Date:   Wed May 18 02:37:31 2011 -0300

    Show when opening tabs while not visible
---
 src/vidalia/MainWindow.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
index 674958e..f5907fe 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -1550,6 +1550,8 @@ MainWindow::addTab(VidaliaTab *tab)
   _tabMap << tab->getTitle();
   connect(tab, SIGNAL(helpRequested(QString)),
           this, SLOT(showHelpDialog(QString)));
+  if(!isVisible())
+    setVisible(true);
 }
 
 void

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits