forked from qt-creator/qt-creator
Disable undo/redo in compile output window.
Since it is read-only. Makes you think why it is enabled by default for read-only text edits, but anyhow. Task-number: QTCREATORBUG-3625
This commit is contained in:
@@ -63,6 +63,7 @@ CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
|
|||||||
m_outputWindow->setWindowTitle(tr("Compile Output"));
|
m_outputWindow->setWindowTitle(tr("Compile Output"));
|
||||||
m_outputWindow->setWindowIcon(QIcon(QLatin1String(Qt4ProjectManager::Constants::ICON_WINDOW)));
|
m_outputWindow->setWindowIcon(QIcon(QLatin1String(Qt4ProjectManager::Constants::ICON_WINDOW)));
|
||||||
m_outputWindow->setReadOnly(true);
|
m_outputWindow->setReadOnly(true);
|
||||||
|
m_outputWindow->setUndoRedoEnabled(false);
|
||||||
|
|
||||||
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
|
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
|
||||||
agg->add(m_outputWindow);
|
agg->add(m_outputWindow);
|
||||||
|
|||||||
Reference in New Issue
Block a user