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

[tor-commits] [vidalia/alpha] Close the netviewer settings also when saving



commit d8729acba3141d90b40e30ea107a4938194abb3c
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Thu Jun 14 19:31:44 2012 -0300

    Close the netviewer settings also when saving
---
 src/vidalia/network/NetViewer.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/vidalia/network/NetViewer.cpp b/src/vidalia/network/NetViewer.cpp
index f0868fe..12f2081 100644
--- a/src/vidalia/network/NetViewer.cpp
+++ b/src/vidalia/network/NetViewer.cpp
@@ -645,6 +645,8 @@ NetViewer::linkActivated(const QString &url)
 void
 NetViewer::saveSettings()
 {
+  /* Hide the settings frame and reset toggle button */
+  ui.actionSettings->toggle();
   ui.treeRouterList->setColumnHidden(RouterListWidget::IPnumberColumn,
                                      !(ui.chkShowIP->isChecked()));
   ui.treeRouterList->setColumnHidden(RouterListWidget::BandwidthColumn,



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