aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-06-19 21:32:35 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-06-19 21:32:35 +0000
commitb944b14dfd0dc8630cb6fceb038c3d06bd45158c (patch)
tree2728a447af05b6cead862bd4857efd8290b73e69 /gpgwin.cpp
parentupdated brassilian translation (diff)
downloadgpg4usb-b944b14dfd0dc8630cb6fceb038c3d06bd45158c.tar.gz
gpg4usb-b944b14dfd0dc8630cb6fceb038c3d06bd45158c.zip
added redo to edit-menu
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@359 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 23249af..6c0a5d4 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -159,6 +159,11 @@ void GpgWin::createActions()
undoAct->setToolTip(tr("Undo Last Edit Action"));
connect(undoAct, SIGNAL(triggered()), edit, SLOT(undo()));
+ undoAct = new QAction(tr("&Redo"), this);
+ undoAct->setShortcut(QKeySequence::Redo);
+ undoAct->setToolTip(tr("Redo Last Edit Action"));
+ connect(redoAct, SIGNAL(triggered()), edit, SLOT(redo()));
+
pasteAct = new QAction(tr("&Paste"), this);
pasteAct->setIcon(QIcon(iconPath + "button_paste.png"));
pasteAct->setShortcut(QKeySequence::Paste);
@@ -266,6 +271,7 @@ void GpgWin::createMenus()
fileMenu->addAction(quitAct);
editMenu = menuBar()->addMenu(tr("&Edit"));
+ editMenu->addAction(redoAct);
editMenu->addAction(undoAct);
editMenu->addSeparator();
editMenu->addAction(copyAct);