diff options
author | Cedric Bellegarde <gnumdk@gmail.com> | 2011-02-10 11:23:40 +0100 |
---|---|---|
committer | Cedric Bellegarde <gnumdk@gmail.com> | 2011-02-10 11:23:40 +0100 |
commit | ad49035cf65c6ef4e923350327f4d0d95b09d369 (patch) | |
tree | dfac28279d846025d4b105cf9f01a9b1f3b8066f | |
parent | Replace with my KDE identity email in AUTHORS (diff) | |
download | rekonq-ad49035cf65c6ef4e923350327f4d0d95b09d369.tar.xz |
Fix issue 258901: disable stop button while not loading
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |