mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-05 07:24:47 -04:00
Active modem tracking; update only when necessary
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
BookmarkView::BookmarkView( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style) : BookmarkPanel(parent, id, pos, size, style) {
|
||||
|
||||
activeBranch = m_treeView->AddRoot("Active");
|
||||
doUpdateActive = true;
|
||||
// doUpdateActive = true;
|
||||
m_updateTimer.Start(500);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ void BookmarkView::onUpdateTimer( wxTimerEvent& event ) {
|
||||
if (doUpdateActive) {
|
||||
doUpdateActiveList();
|
||||
|
||||
// doUpdateActive = false;
|
||||
doUpdateActive = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user