File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Orange/canvas/application Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1406,7 +1406,7 @@ def open_recent():
14061406 if self .recent_scheme () == QDialog .Accepted :
14071407 dialog .accept ()
14081408
1409- def tutorial ():
1409+ def open_examples ():
14101410 if self .tutorial_scheme () == QDialog .Accepted :
14111411 dialog .accept ()
14121412
@@ -1437,6 +1437,13 @@ def tutorial():
14371437 icon = canvas_icons ("Recent.svg" )
14381438 )
14391439
1440+ examples_action = \
1441+ QAction (self .examples_action .text (), dialog ,
1442+ icon = self .examples_action .icon (),
1443+ toolTip = self .examples_action .toolTip (),
1444+ whatsThis = self .examples_action .whatsThis (),
1445+ triggered = open_examples ,
1446+ )
14401447 tutorials_action = \
14411448 QAction (self .tr ("Tutorials" ), self ,
14421449 objectName = "tutorials-action" ,
@@ -1445,7 +1452,7 @@ def tutorial():
14451452 icon = canvas_icons ("YouTube.svg" )
14461453 )
14471454
1448- bottom_row = [tutorials_action , self . examples_action ,
1455+ bottom_row = [tutorials_action , examples_action ,
14491456 self .get_started_action ]
14501457
14511458 self .new_action .triggered .connect (dialog .accept )
You can’t perform that action at this time.
0 commit comments