diff --git a/images/redo.png b/images/redo.png
new file mode 100644
index 0000000..9d679fe
Binary files /dev/null and b/images/redo.png differ
diff --git a/images/undo.png b/images/undo.png
new file mode 100644
index 0000000..eee23d2
Binary files /dev/null and b/images/undo.png differ
diff --git a/mainwindow.cpp b/mainwindow.cpp
index dc66f07..e28a276 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -284,11 +284,18 @@ void MainWindow::createActions()
QToolBar *editToolBar = addToolBar(tr("Edit"));
editToolBar->setObjectName("editToolBar");
+ const QIcon undoIcon = QIcon::fromTheme("edit-undo", QIcon(":/images/undo.png"));
QAction *undoAction = m_textWidget->document()->undoStack()->createUndoAction(this, tr("&Undo"));
+ undoAction->setIcon(undoIcon);
editMenu->addAction(undoAction);
+ editToolBar->addAction(undoAction);
undoAction->setShortcuts(QKeySequence::Undo);
+
+ const QIcon redoIcon = QIcon::fromTheme("edit-redo", QIcon(":/images/redo.png"));
QAction *redoAction = m_textWidget->document()->undoStack()->createRedoAction(this, tr("&Redo"));
+ redoAction->setIcon(redoIcon);
editMenu->addAction(redoAction);
+ editToolBar->addAction(redoAction);
redoAction->setShortcuts(QKeySequence::Redo);
editMenu->addSeparator();
diff --git a/qteletextmaker.qrc b/qteletextmaker.qrc
index e118c80..0f692ff 100644
--- a/qteletextmaker.qrc
+++ b/qteletextmaker.qrc
@@ -5,7 +5,9 @@
images/cut.png
images/new.png
images/open.png
+ images/redo.png
images/paste.png
images/save.png
+ images/undo.png