From 7b4eca2943f8d55e13628ff15e439bedb4eed918 Mon Sep 17 00:00:00 2001 From: Jason Nguyen Date: Fri, 3 Jan 2020 13:50:07 +1100 Subject: [PATCH] Connect the select all menu item action Makes the select all menu item functional (previously only the built in text editor Ctrl+A shortcut worked) --- MiniZincIDE/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MiniZincIDE/mainwindow.cpp b/MiniZincIDE/mainwindow.cpp index f1b6f36..cb2cfb0 100755 --- a/MiniZincIDE/mainwindow.cpp +++ b/MiniZincIDE/mainwindow.cpp @@ -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)));