mirror of https://github.com/BOINC/boinc.git
parent
dadf01353c
commit
19b74825fb
|
@ -803,20 +803,20 @@ void CViewWork::UpdateSelection() {
|
||||||
// desktop connection
|
// desktop connection
|
||||||
//
|
//
|
||||||
if (!strlen(result->remote_desktop_addr)) {
|
if (!strlen(result->remote_desktop_addr)) {
|
||||||
enableShowVMConsole = false;
|
enableShowVMConsole = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable Show Graphics button if the selected task can't display graphics
|
// Disable Show Graphics button if the selected task can't display graphics
|
||||||
//
|
//
|
||||||
if (!strlen(result->web_graphics_url) && !strlen(result->graphics_exec_path)) {
|
if (!strlen(result->web_graphics_url) && !strlen(result->graphics_exec_path)) {
|
||||||
enableShowGraphics = false;
|
enableShowGraphics = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result->suspended_via_gui ||
|
if (result->suspended_via_gui ||
|
||||||
result->project_suspended_via_gui ||
|
result->project_suspended_via_gui ||
|
||||||
(result->scheduler_state != CPU_SCHED_SCHEDULED)
|
(result->scheduler_state != CPU_SCHED_SCHEDULED)
|
||||||
) {
|
) {
|
||||||
enableShowGraphics = false;
|
enableShowGraphics = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable Abort button if any selected task already aborted
|
// Disable Abort button if any selected task already aborted
|
||||||
|
|
Loading…
Reference in New Issue