Commit da5bb5af authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed the do it correctly. Fixed in core where accelerators where not handled correctly

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11307 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d936ad2c
......@@ -48,6 +48,20 @@
#include "GroupBackup.hh"
//-----------------------------------------------------------------------------
BackupPlugin::BackupPlugin():
backupMenu_(0),
backupsEnabledAction_(0),
undoMenuAction_(0),
redoMenuAction_(0),
undoToolAction_(0),
redoToolAction_(0),
undoContextAction_(0),
redoContextAction_(0)
{
}
//-----------------------------------------------------------------------------
void BackupPlugin::pluginsInitialized() {
......@@ -220,9 +234,6 @@ void BackupPlugin::slotUpdateContextMenu( int _objectId ){
}
}
//TODO do it correct
emit addContextMenuItem(redoContextAction_, DATA_ALL, CONTEXTOBJECTMENU);
emit addContextMenuItem(undoContextAction_, DATA_ALL, CONTEXTOBJECTMENU);
}
//-----------------------------------------------------------------------------
......
......@@ -141,6 +141,7 @@ public slots:
public:
~BackupPlugin() {};
BackupPlugin();
QString name() { return (QString("Backup")); };
QString description( ) { return (QString("Creates Backups of objects when supported by plugins")); };
......
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