File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
2019-12-09
2
2
v2.4.1
3
3
- Display error message when submission to MOOC provider fails.
4
+ - Fix shift left and shift right indentation behaviour when selecting
5
+ text backwards.
6
+ - Make "previous tab" and "next tab" actions cycle rather than stop at
7
+ first/last tab.
4
8
v2.4.0
5
9
- Parse timing and statistics output produced by compiler, and display as
6
10
profiling information next to each line in the model.
Original file line number Diff line number Diff line change @@ -4562,13 +4562,17 @@ void MainWindow::on_actionPrevious_tab_triggered()
4562
4562
{
4563
4563
if (ui->tabWidget ->currentIndex () > 0 ) {
4564
4564
ui->tabWidget ->setCurrentIndex (ui->tabWidget ->currentIndex ()-1 );
4565
+ } else {
4566
+ ui->tabWidget ->setCurrentIndex (ui->tabWidget ->count ()-1 );
4565
4567
}
4566
4568
}
4567
4569
4568
4570
void MainWindow::on_actionNext_tab_triggered ()
4569
4571
{
4570
4572
if (ui->tabWidget ->currentIndex () < ui->tabWidget ->count ()-1 ) {
4571
4573
ui->tabWidget ->setCurrentIndex (ui->tabWidget ->currentIndex ()+1 );
4574
+ } else {
4575
+ ui->tabWidget ->setCurrentIndex (0 );
4572
4576
}
4573
4577
}
4574
4578
You can’t perform that action at this time.
0 commit comments