Commits

Anonymous committed 3aad2e1

pressing escape now hides the pyrad.

Comments (0)

Files changed (1)

             idx = SELECTION_KEYS_ORDERED.index(key)
             if not self.labelClicked(self.circle[idx]) is None:
                 self.hide()
+	else: 
+	    if event.key() == Qt.Key_Escape: 
+		self.hide()
         
 
     def addLabelAfter(self, label): # -> open message box -> set item.icon and item.action. -> save_config()