Changeset 11499:677ba655a133 in orange


Ignore:
Timestamp:
05/09/13 15:52:38 (11 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed new current menu selection on a timeout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/document/quickmenu.py

    r11498 r11499  
    628628            self.__sloppyButton = None 
    629629            if not button.isChecked(): 
    630                 button.setChecked(True) 
     630                index = [tab.button for tab in self.__tabs].index(button) 
     631                self.setCurrentIndex(index) 
    631632 
    632633                # Update the sloppy region from the current cursor position. 
Note: See TracChangeset for help on using the changeset viewer.