diff options
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_proto.cpp b/protocols/Weather/src/weather_proto.cpp index 6df768e7ac..3c5f8f1057 100644 --- a/protocols/Weather/src/weather_proto.cpp +++ b/protocols/Weather/src/weather_proto.cpp @@ -32,8 +32,6 @@ CWeatherProto::CWeatherProto(const char *protoName, const wchar_t *userName) : HookProtoEvent(ME_CLIST_DOUBLECLICKED, &CWeatherProto::BriefInfoEvt); HookProtoEvent(ME_CLIST_PREBUILDCONTACTMENU, &CWeatherProto::BuildContactMenu); - InitMwin(); - // load options and set defaults LoadOptions(); @@ -63,6 +61,8 @@ CWeatherProto::~CWeatherProto() void CWeatherProto::OnModulesLoaded() { + InitMwin(); + // timer for the first update m_impl.m_start.Start(5000); // first update is 5 sec after load |