From ad49035cf65c6ef4e923350327f4d0d95b09d369 Mon Sep 17 00:00:00 2001 From: Cedric Bellegarde Date: Thu, 10 Feb 2011 11:23:40 +0100 Subject: Fix issue 258901: disable stop button while not loading --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1f867a2a..9509e636 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1008,6 +1008,7 @@ void MainWindow::browserLoading(bool v) m_stopReloadAction->setToolTip(i18n("Stop loading the current page")); m_stopReloadAction->setText(i18n("Stop")); connect(m_stopReloadAction, SIGNAL(triggered(bool)), stop, SIGNAL(triggered(bool))); + stop->setEnabled(true); } else { @@ -1016,7 +1017,7 @@ void MainWindow::browserLoading(bool v) m_stopReloadAction->setToolTip(i18n("Reload the current page")); m_stopReloadAction->setText(i18n("Reload")); connect(m_stopReloadAction, SIGNAL(triggered(bool)), reload, SIGNAL(triggered(bool))); - + stop->setEnabled(false); } } -- cgit v1.2.1