changeset 219:e8175839a5ac

(none)
author benoitrigolleau
date Thu, 07 Feb 2008 15:53:09 +0000
parents 4fb1a45be262
children 7b2a7880a501
files sv/main/MainWindow.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sv/main/MainWindow.cpp	Thu Feb 07 15:18:12 2008 +0000
+++ b/sv/main/MainWindow.cpp	Thu Feb 07 15:53:09 2008 +0000
@@ -438,6 +438,7 @@
 void MainWindow::unlockWindow(){
 	m_nbLock--;
 	if(m_nbLock<=0){
+		m_nbLock = 0;
 		//unlock the menu
 		QWidget *menu = this->menuWidget();
 		if(menu){
@@ -1874,6 +1875,7 @@
 //    m_toolActions[ViewManager::TextMode] = action;
 
 	ConnectionStatus *connectionStatus = new ConnectionStatus(m_httpClient, tr("Connection status"));
+	m_toolBarVector.append(connectionStatus);
 	addToolBar(connectionStatus);
 
     toolNavigateSelected();