When adding a new view in Activity Monitor, make sure the new view use the same refresh interval as the already existing views, to avoid having different refresh intervals active in the monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30688 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -332,7 +332,10 @@ ActivityWindow::_SaveSettings()
|
||||
void
|
||||
ActivityWindow::_AddDefaultView()
|
||||
{
|
||||
ActivityView* view = new ActivityView("ActivityMonitor", NULL);
|
||||
BMessage settings;
|
||||
settings.AddInt64("refresh interval", RefreshInterval());
|
||||
|
||||
ActivityView* view = new ActivityView("ActivityMonitor", &settings);
|
||||
|
||||
switch (ActivityViewCount()) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user