Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'BR_v14_rc' into BR_quadtree
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ExportSinusXOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ExportSinusXOp.cxx
b/src/HYDROGUI/HYDROGUI_ExportSinusXOp.cxx
index d43f1e8e19c02faeb7ac1d67bff105d280f4712b..6d33a7b7c4a3e90e0c3a236fc257b50345325137 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ExportSinusXOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ExportSinusXOp.cxx
@@
-65,7
+65,7
@@
HYDROGUI_InputPanel* HYDROGUI_ExportSinusXOp::createInputPanel() const
void HYDROGUI_ExportSinusXOp::onExportItems()
{
void HYDROGUI_ExportSinusXOp::onExportItems()
{
- QString aFilter(
"*.sx" ); //temp ext-n; replace with filter; TODO
+ QString aFilter(
tr("SINUSX_FILTER") );
HYDROGUI_ExportSinusXDlg* aPanel = ::qobject_cast<HYDROGUI_ExportSinusXDlg*>( inputPanel() );
if ( !aPanel )
return;
HYDROGUI_ExportSinusXDlg* aPanel = ::qobject_cast<HYDROGUI_ExportSinusXDlg*>( inputPanel() );
if ( !aPanel )
return;
@@
-76,4
+76,6
@@
void HYDROGUI_ExportSinusXOp::onExportItems()
HYDROData_SinusX anExporter;
anExporter.Export(aFileName, aPanel->GetSelectedEntities());
}
HYDROData_SinusX anExporter;
anExporter.Export(aFileName, aPanel->GetSelectedEntities());
}
+ else
+ SUIT_MessageBox::warning(module()->getApp()->desktop(), tr( "EXPORT_SINUSX" ), tr( "NO_ENTITIES_TO_EXPORT"));
}
}