| 323 | } |
| 324 | |
| 325 | void |
| 326 | ExportGroupTemplateDialog::onButtonClicked() |
| 327 | { |
| 328 | std::vector<std::string> filters; |
| 329 | const QString& path = _imp->gui->getLastPluginDirectory(); |
| 330 | SequenceFileDialog dialog(this, filters, false, SequenceFileDialog::eFileDialogModeDir, path.toStdString(), _imp->gui, false); |
| 331 | |
| 332 | if ( dialog.exec() ) { |
| 333 | std::string selection = dialog.selectedFiles(); |
| 334 | _imp->fileEdit->setText( QString::fromUtf8( selection.c_str() ) ); |
| 335 | QDir d = dialog.currentDirectory(); |
| 336 | _imp->gui->updateLastPluginDirectory( d.absolutePath() ); |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | void |
| 341 | ExportGroupTemplateDialog::onLabelEditingFinished() |
nothing calls this directly
no test coverage detected