diff options
author | David Schulz <david.schulz@digia.com> | 2013-10-30 09:27:32 +0100 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-10-30 09:51:07 +0100 |
commit | 88c647ce6868cd7ab03ec96062d2a77813b6e906 (patch) | |
tree | 2412e9deef1db24567aaf2fc3ee94545f7571dfd /src/plugins/texteditor/texteditoractionhandler.cpp | |
parent | 0dbaac7bcf205b71ed8850623d6794e111cd9470 (diff) | |
download | qt-creator-88c647ce6868cd7ab03ec96062d2a77813b6e906.tar.gz |
TextEditor: Update actions after toggling read only mode.
Task-number: QTCREATORBUG-9188
Change-Id: I3448645397e7a39487f2e961728ebef924eec7f6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.cpp')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 15cd1c82c4..d9da8289b8 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -122,6 +122,7 @@ void TextEditorActionHandler::setupActions(BaseTextEditorWidget *editor) QObject::connect(editor, SIGNAL(undoAvailable(bool)), this, SLOT(updateUndoAction())); QObject::connect(editor, SIGNAL(redoAvailable(bool)), this, SLOT(updateRedoAction())); QObject::connect(editor, SIGNAL(copyAvailable(bool)), this, SLOT(updateCopyAction())); + QObject::connect(editor, SIGNAL(readOnlyChanged()), this, SLOT(updateActions())); } |