From: isn Date: Wed, 18 Nov 2015 08:49:02 +0000 (+0300) Subject: refs #718 X-Git-Tag: v1.5~19^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b96799791469ac38ac224466f2591c0310b0fb0;p=modules%2Fhydro.git refs #718 --- diff --git a/src/HYDROGUI/HYDROGUI_ExportFileOp.cxx b/src/HYDROGUI/HYDROGUI_ExportFileOp.cxx index e4bb9ee9..436c7c02 100644 --- a/src/HYDROGUI/HYDROGUI_ExportFileOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ExportFileOp.cxx @@ -131,10 +131,12 @@ void HYDROGUI_ExportFileOp::startOperation() else return; + QStringList SortedListOfAttr = anAttrNames.toList(); + SortedListOfAttr.sort(); // Handle_HYDROData_LandCoverMap aLCM = Handle(HYDROData_LandCoverMap)::DownCast( aSeq(1) ); bool IsLinear = aLCM->CheckLinear(); - HYDROGUI_ExportLandCoverMapDlg aDlg( module()->getApp()->desktop(), IsLinear, anAttrNames.toList()); + HYDROGUI_ExportLandCoverMapDlg aDlg( module()->getApp()->desktop(), IsLinear, SortedListOfAttr); if ( aDlg.exec() == HYDROGUI_ExportLandCoverMapDlg::Accepted ) { //In our case : aSeq.Size() == 1