src/eric7/RemoteServerInterface/EricServerProfilesDialog.py

branch
server
changeset 10597
fbe93720ee9f
parent 10561
be23a662d709
child 11033
6b197c3389f7
equal deleted inserted replaced
10596:ea35c92a3c7c 10597:fbe93720ee9f
110 Private slot to remove the selected connection profiles. 110 Private slot to remove the selected connection profiles.
111 """ 111 """
112 yes = EricMessageBox.yesNo( 112 yes = EricMessageBox.yesNo(
113 self, 113 self,
114 self.tr("Remove Selected Entries"), 114 self.tr("Remove Selected Entries"),
115 self.tr( 115 self.tr("Do you really want to remove the selected entries from the list?"),
116 "Do you really want to remove the selected entries from the list?"
117 ),
118 ) 116 )
119 if yes: 117 if yes:
120 for itm in self.connectionsList.selectedItems()[:]: 118 for itm in self.connectionsList.selectedItems()[:]:
121 self.connectionsList.takeItem(self.connectionsList.row(itm)) 119 self.connectionsList.takeItem(self.connectionsList.row(itm))
122 del itm 120 del itm

eric ide

mercurial