]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #718
authorisn <isn@opencascade.com>
Wed, 18 Nov 2015 08:49:02 +0000 (11:49 +0300)
committerisn <isn@opencascade.com>
Wed, 18 Nov 2015 08:49:02 +0000 (11:49 +0300)
src/HYDROGUI/HYDROGUI_ExportFileOp.cxx

index e4bb9ee959583d878ea8776ff90f1553773baa8a..436c7c02535c930880537e2145a2d979cf70190f 100644 (file)
@@ -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