Mercurial > hg > octave-lojdl
changeset 16545:cfa98328acc9
eliminate redo button from main window
* main-window.h, main-window.cc (main_window::_redo_action):
Delete member variable.
(main_window::construct_edit_menu): Don't create _redo_action.
(main_window::construct_tool_bar): Don't create _redo_action.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 19 Apr 2013 09:30:08 -0400 |
parents | ced9b101723c |
children | c1e90c7cfd30 |
files | libgui/src/main-window.cc libgui/src/main-window.h |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc +++ b/libgui/src/main-window.cc @@ -933,10 +933,6 @@ = edit_menu->addAction (QIcon (":/actions/icons/undo.png"), tr ("Undo")); _undo_action->setShortcut (QKeySequence::Undo); - _redo_action - = edit_menu->addAction (QIcon (":/actions/icons/redo.png"), tr ("Redo")); - _redo_action->setShortcut (QKeySequence::Redo); - edit_menu->addSeparator (); _cut_action @@ -1274,7 +1270,6 @@ _main_tool_bar->addAction (_copy_action); _main_tool_bar->addAction (_paste_action); _main_tool_bar->addAction (_undo_action); - _main_tool_bar->addAction (_redo_action); _main_tool_bar->addSeparator ();