Commit 79f6e590 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Improve progress reporting

parent e0e61469
......@@ -127,7 +127,7 @@
//-----------------------------------------------------------------------------
vtkStandardNewMacro(vtkPVWindow);
vtkCxxRevisionMacro(vtkPVWindow, "1.584");
vtkCxxRevisionMacro(vtkPVWindow, "1.585");
int vtkPVWindowCommand(ClientData cd, Tcl_Interp *interp,
int argc, char *argv[]);
......@@ -4608,6 +4608,10 @@ void vtkPVWindow::SetProgress(const char* text, int val)
{
return;
}
if ( strlen(text) > 4 && text[0] == 'v' && text[1] == 't' && text[2] == 'k' )
{
text += 3;
}
this->ModifiedEnableState = 1;
this->SetEnabled(0);
this->SetStatusText(text);
......
......@@ -46,7 +46,7 @@
#define VTK_KW_WINDOW_GEOMETRY_REG_KEY "WindowGeometry"
#define VTK_KW_WINDOW_FRAME1_SIZE_REG_KEY "WindowFrame1Size"
vtkCxxRevisionMacro(vtkKWWindow, "1.193");
vtkCxxRevisionMacro(vtkKWWindow, "1.194");
vtkCxxSetObjectMacro(vtkKWWindow, PropertiesParent, vtkKWWidget);
#define VTK_KW_RECENT_FILES_MAX 20
......@@ -1682,7 +1682,7 @@ void vtkKWWindow::UpdateEnableState()
this->PropagateEnableState(this->SelectedView);
this->PropagateEnableState(this->MiddleFrame);
this->PropagateEnableState(this->StatusFrame);
this->PropagateEnableState(this->StatusLabel);
//this->PropagateEnableState(this->StatusLabel);
this->PropagateEnableState(this->PropertiesParent);
this->PropagateEnableState(this->ViewFrame);
this->PropagateEnableState(this->MenuBarSeparatorFrame);
......
Supports Markdown
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