summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric Bellegarde <gnumdk@gmail.com>2011-02-10 11:23:40 +0100
committerCedric Bellegarde <gnumdk@gmail.com>2011-02-10 11:23:40 +0100
commitad49035cf65c6ef4e923350327f4d0d95b09d369 (patch)
treedfac28279d846025d4b105cf9f01a9b1f3b8066f /src
parentReplace with my KDE identity email in AUTHORS (diff)
downloadrekonq-ad49035cf65c6ef4e923350327f4d0d95b09d369.tar.xz
Fix issue 258901: disable stop button while not loading
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp3
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);
}
}