mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 19:46:29 +03:00
Forgot a small change when click the git status button.
This commit is contained in:
@@ -589,8 +589,11 @@ void GitPlugin::updateStatusBarSync() {
|
||||
mStatusButton->toPosition( mStatusBar->getChildCount() - 2 );
|
||||
|
||||
mStatusButton->on( Event::MouseClick, [this]( const Event* ) {
|
||||
if ( mTab )
|
||||
if ( mTab ) {
|
||||
mTab->setTabSelected();
|
||||
if ( mGitStatus.totalInserts || mGitStatus.totalDeletions )
|
||||
mPanelSwicher->getListBox()->setSelected( 1 );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user