Exemplo n.º 1
0
 def xon_hostEditButton_clicked(self):
     if self.ui.hostList.currentItem() is None:
         pass # OVELog('No item to edit')
     else:
         currentRow = self.ui.hostList.currentRow()
         hostWindow = OVEHostWindow(self, self.configHosts[currentRow])
         hostWindow.exec_()
         self.handleHostWindowRecord(hostWindow.record(), True)
Exemplo n.º 2
0
 def xon_hostAddButton_clicked(self):
     hostWindow = OVEHostWindow(self)
     hostWindow.exec_()
     self.handleHostWindowRecord(hostWindow.record(), False)