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
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ExportCalculationOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
b/src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
index 8e3f852269c927ff25d3d220ff6a4747b65b3493..d91522bbe093b1b6dc28b9f2b7e710c037949675 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ExportCalculationOp.cxx
@@
-68,7
+68,8
@@
void HYDROGUI_ExportCalculationOp::commitOperation()
}
bool HYDROGUI_ExportCalculationOp::processApply( int& theUpdateFlags,
}
bool HYDROGUI_ExportCalculationOp::processApply( int& theUpdateFlags,
- QString& theErrorMsg )
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
{
// Get the selected calculation case
Handle(HYDROData_CalculationCase) aCalculation =
{
// Get the selected calculation case
Handle(HYDROData_CalculationCase) aCalculation =
@@
-107,9
+108,10
@@
void HYDROGUI_ExportCalculationOp::onApply()
QString anErrorMsg;
bool aResult = false;
QString anErrorMsg;
bool aResult = false;
-
+ QStringList aBrowseObjectsEntries;
+
try {
try {
- aResult = processApply( anUpdateFlags, anErrorMsg );
+ aResult = processApply( anUpdateFlags, anErrorMsg
, aBrowseObjectsEntries
);
}
catch ( Standard_Failure )
{
}
catch ( Standard_Failure )
{
@@
-127,6
+129,7
@@
void HYDROGUI_ExportCalculationOp::onApply()
if ( aResult ) {
module()->update( anUpdateFlags );
commit();
if ( aResult ) {
module()->update( anUpdateFlags );
commit();
+ browseObjects( aBrowseObjectsEntries );
// Show message box
SUIT_MessageBox::information( module()->getApp()->desktop(),
// Show message box
SUIT_MessageBox::information( module()->getApp()->desktop(),