X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FviewManager.py;h=c393cf34cb49e420699003c37ddaf377500b6c97;hb=80eb29926b88137b9f0f19175c0d0c52d7dcc206;hp=78972b08522cca9b8cea756aba51cacbca7a0d38;hpb=1d010ff4e7d10301413f4760ae487291fcb2b2ca;p=tools%2Feficas.git diff --git a/InterfaceQT4/viewManager.py b/InterfaceQT4/viewManager.py index 78972b08..c393cf34 100644 --- a/InterfaceQT4/viewManager.py +++ b/InterfaceQT4/viewManager.py @@ -178,7 +178,9 @@ class MyTabview: def handlegestionParam(self): index=self.myQtab.currentIndex() - if index < 0 : return + if index < 0 : + QMessageBox.warning( self.appliEficas,tr(u"Creation Parametre indisponible"),tr(u"les parametres sont lies a un jeu de donnees")) + return self.dict_editors[index].gestionParam() def handleViewJdcRapport(self): @@ -289,7 +291,7 @@ class MyTabview: #PNPNPNPN --> a affiner if fichier is None: self.untitledCount += 1 - self.myQtab.addTab(win, tr("Fichier non encore nommé ", self.untitledCount)) + self.myQtab.addTab(win, tr("Fichier non encore nomme ", self.untitledCount)) #self.myQtab.addTab(win, str(self.appliEficas.code)) else: liste=fichier.split('/')