parent
45b7d4fcbc
commit
51d72c7f20
1 changed files with 3 additions and 1 deletions
|
|
@ -268,7 +268,9 @@ void MainWindow::on_tabWidget_tabCloseRequested(int index)
|
|||
if (qt && qt->canClose()) {
|
||||
ui->tabWidget->removeTab(index);
|
||||
}
|
||||
|
||||
else if (index > 0) {
|
||||
ui->tabWidget->removeTab(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue