Changeset 11158:a33b36d86a18 in orange


Ignore:
Timestamp:
10/26/12 14:06:21 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Override the default QMainWindow context popup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/application/canvasmain.py

    r11156 r11158  
    13041304        self.__update_scheme_margins() 
    13051305 
     1306    def createPopupMenu(self): 
     1307        # Override the default context menu popup (we don't want the user to 
     1308        # be able to hide the tool dock widget). 
     1309        return None 
     1310 
    13061311    def closeEvent(self, event): 
    13071312        """Close the main window. 
Note: See TracChangeset for help on using the changeset viewer.