mirror of
				https://github.com/MCV-Software/TWBlue.git
				synced 2025-11-04 13:57:05 +00:00 
			
		
		
		
	Fixed small typo
This commit is contained in:
		@@ -29,8 +29,8 @@ class autocompletionUsers(object):
 | 
			
		||||
        :param mode: this controls how the dialog will behave. Possible values are 'tweet' and 'dm'. In tweet mode, the matching pattern will be @user (@ is required), while in 'dm' mode the matching pattern will be anything written in the text control.
 | 
			
		||||
        :type mode: str
 | 
			
		||||
        """
 | 
			
		||||
        position = self.window.text.GetInsertionPoint()
 | 
			
		||||
        if mode == "tweet":
 | 
			
		||||
            position = self.window.text.GetInsertionPoint()
 | 
			
		||||
            text = self.window.text.GetValue()
 | 
			
		||||
            text = text[:position]
 | 
			
		||||
            try:
 | 
			
		||||
@@ -60,7 +60,7 @@ class autocompletionUsers(object):
 | 
			
		||||
            users = self.db.get_users(pattern)
 | 
			
		||||
            if len(users) > 0:
 | 
			
		||||
                menu.append_options(users)
 | 
			
		||||
                self.window.PopupMenu(menu, self.window.text.GetPosition())
 | 
			
		||||
                self.window.PopupMenu(menu, self.window.cb.GetPosition())
 | 
			
		||||
                menu.destroy()
 | 
			
		||||
            else:
 | 
			
		||||
                output.speak(_(u"There are no results in your users database"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user