Example #1
0
 def collectionSelectClicked(self):
     col = lib_state.get_active_collection()
     if col is None:
         LOG.warning('No active collection to select.')
         return
     lib_col.select_collection(col)
     self.updateDynamicWindowTitle()
     return
Example #2
0
 def selectClickedButton(self):
     """
     Run when the user presses the 'select' button.
     """
     col = lib_state.get_active_collection()
     if col is None:
         LOG.warning('No active collection to select.')
         return
     lib_col.select_collection(col)
     self.nameChanged.emit()
     return