mainwindow.cpp
changeset 375 06ab6df252fa
parent 374 8df2895c131c
child 377 5391ab620c95
     1.1 --- a/mainwindow.cpp	Tue Sep 05 11:53:54 2006 +0000
     1.2 +++ b/mainwindow.cpp	Tue Sep 05 13:48:17 2006 +0000
     1.3 @@ -641,6 +641,7 @@
     1.4  	a->setShortcut ( Qt::Key_ScrollLock );
     1.5  	a->setStatusTip (tr( "Scroll branch" ) );
     1.6      connect( a, SIGNAL( triggered() ), this, SLOT( editToggleScroll() ) );
     1.7 +
     1.8  	alt = new QAction( QPixmap(flagsPath+"flag-scrolled-right.png"), tr( "Scroll branch" ), this);
     1.9  	alt->setShortcut ( Qt::Key_S );
    1.10  	alt->setStatusTip (tr( "Scroll branch" )); 
    1.11 @@ -655,6 +656,8 @@
    1.12      tb->addAction (actionEditToggleScroll);
    1.13      editMenu->addAction ( actionEditToggleScroll);
    1.14  	editMenu->addAction (actionEditToggleScroll);
    1.15 +	addAction (a);
    1.16 +	addAction (alt);
    1.17  	actionListBranches.append(actionEditToggleScroll);
    1.18  	
    1.19      a = new QAction( tr( "Unscroll all scrolled branches" ), this);
    1.20 @@ -800,6 +803,7 @@
    1.21  	a->setShortcut (Qt::ALT + Qt::Key_Delete );
    1.22      connect( a, SIGNAL( triggered() ), this, SLOT( editRemoveBranchKeepChilds() ) );
    1.23  	a->setEnabled (false);
    1.24 +	addAction (a);
    1.25  	actionListBranches.append(a);
    1.26  	actionEditRemoveBranchKeepChilds=a;
    1.27