Exemple #1
0
    def open_unused(self):
        """Opens the unused tab"""

        if self.switch(u'__unused__'):
            return
        from libqtopensesame.widgets.unused_widget import unused_widget
        w = unused_widget(self.main_window)
        self.add(w, u'unused', _(u'Unused items'))
Exemple #2
0
	def open_unused(self):

		"""Opens the unused tab"""

		if self.switch(u'__general__'):
			return
		from libqtopensesame.widgets.unused_widget import unused_widget
		w = unused_widget(self.main_window)		
		self.add(w, u'unused', u'Unused items')