Commit d15d70c9 authored by Laurent Montel's avatar Laurent Montel 😁

Fix my previous patch

svn path=/trunk/kdesdk/cervisia/; revision=114533
parent 204c9863
......@@ -520,8 +520,7 @@ void CervisiaPart::updateActions()
actionCollection()->action( "view_last_change" )->setEnabled( single );
// bool nojob = !( actionCollection()->action( "stop_job" )->isEnabled() );
bool nojob = !hasRunningJob && update->selectedItem();
bool nojob = !hasRunningJob && (update->currentItem()!=0);
actionCollection()->action( "file_update" )->setEnabled( nojob );
actionCollection()->action( "file_status" )->setEnabled( nojob );
actionCollection()->action( "file_commit" )->setEnabled( nojob );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment