Skip to content

Commit

Permalink
Connect the select all menu item action
Browse files Browse the repository at this point in the history
Makes the select all menu item functional (previously only the built in text editor Ctrl+A shortcut worked)
  • Loading branch information
jason-nguyen-monash authored and guidotack committed Jan 6, 2020
1 parent f5b113b commit 7b4eca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MiniZincIDE/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,7 @@ void MainWindow::tabChange(int tab) {
connect(ui->actionCopy, SIGNAL(triggered()), curEditor, SLOT(copy()));
connect(ui->actionPaste, SIGNAL(triggered()), curEditor, SLOT(paste()));
connect(ui->actionCut, SIGNAL(triggered()), curEditor, SLOT(cut()));
connect(ui->actionSelect_All, SIGNAL(triggered()), curEditor, SLOT(selectAll()));
connect(ui->actionUndo, SIGNAL(triggered()), curEditor, SLOT(undo()));
connect(ui->actionRedo, SIGNAL(triggered()), curEditor, SLOT(redo()));
connect(curEditor, SIGNAL(copyAvailable(bool)), ui->actionCopy, SLOT(setEnabled(bool)));
Expand Down

0 comments on commit 7b4eca2

Please sign in to comment.