| 664 | } |
| 665 | |
| 666 | void |
| 667 | PyTabWidget::closePane() |
| 668 | { |
| 669 | if (_tab->getGui()->getPanes().size() == 1) { |
| 670 | _tab->getGui()->getApp()->appendToScriptEditor( tr("Cannot close pane when this is the last one remaining.").toStdString() ); |
| 671 | |
| 672 | return; |
| 673 | } |
| 674 | _tab->closePane(); |
| 675 | _tab->close(); |
| 676 | } |
| 677 | |
| 678 | void |
| 679 | PyTabWidget::floatPane() |
nothing calls this directly
no test coverage detected