Can close CRUD tabs now

Close #6
This commit is contained in:
eelke 2018-04-10 20:21:50 +02:00
parent 45b7d4fcbc
commit 51d72c7f20

View file

@ -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);
}
}