diff options
author | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-12-04 16:34:57 +0100 |
---|---|---|
committer | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-12-04 16:34:57 +0100 |
commit | 7cc0baecbee2d0c0c428a2f43c5259fce6ae198e (patch) | |
tree | 53db8b6cd76ca4f451c2a1314d635f2667829fdb | |
parent | 8527613c8b9cddd1cafd59860a4b2a2806540d97 (diff) |
print remaining jobs in statusbar
-rw-r--r-- | src/UpdateGUI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/UpdateGUI.cpp b/src/UpdateGUI.cpp index 60d0c92..6176350 100644 --- a/src/UpdateGUI.cpp +++ b/src/UpdateGUI.cpp @@ -353,7 +353,9 @@ void UpdateGUIFrame::OnThread(wxCommandEvent& event) printAllJobsDone = true; } jobs->resetTotalJobsDone(); - } else SetStatusText(wxs); + } else { + SetStatusText(wxs + wxString::Format(wxT(" (jobs remaining: %u)"), jobs->Stacksize() + jobs->getBusyWorker())); + } break; case Job::eID_THREAD_JOB: SetStatusText(wxs); break; case Job::eID_THREAD_MSGOK: SetStatusText(wxs); tp = RTL_GREEN; break; |