Commit 0394b138 authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

Set objectName of a QUndoView

Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent bcc5d44e
......@@ -441,6 +441,7 @@ void
MainWindow::setupUndoRedoWidget()
{
m_undoView = new QUndoView;
m_undoView->setObjectName( QStringLiteral( "History" ) );
m_dockedUndoView = dockWidget( m_undoView, Qt::TopDockWidgetArea );
auto stack = Core::instance()->undoStack();
connect( stack, SIGNAL( canUndoChanged( bool ) ), this, SLOT( canUndoChanged( bool ) ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment