glvdebug: Disable the timeline when replay is in progress.
authorPeter Lohrmann <peterl@valvesoftware.com>
Mon, 2 Mar 2015 17:41:29 +0000 (09:41 -0800)
committerPeter Lohrmann <peterl@valvesoftware.com>
Mon, 2 Mar 2015 17:41:29 +0000 (09:41 -0800)
* Currently the timeline doesn't appear any different when it is disabled, but the user cannot interact with it, which is the intent.

tools/glave/src/glvdebug/glvdebug.cpp

index de67856..a46990b 100755 (executable)
@@ -296,6 +296,7 @@ void glvdebug::on_replay_state_changed(bool bReplayInProgress)
     ui->searchNextButton->setEnabled(bEnableUi);\r
     ui->searchPrevButton->setEnabled(bEnableUi);\r
     ui->searchTextBox->setEnabled(bEnableUi);\r
+    m_pTimeline->setEnabled(bEnableUi);\r
 }\r
 \r
 unsigned long long glvdebug::get_current_packet_index()\r