Author: chiiph Date: 2011-02-23 12:20:10 +0000 (Wed, 23 Feb 2011) New Revision: 4520
Modified: vidalia/trunk/src/vidalia/log/MessageLog.cpp Log: Fixes messagelog drawing problem, wrt ticket #2093
Modified: vidalia/trunk/src/vidalia/log/MessageLog.cpp =================================================================== --- vidalia/trunk/src/vidalia/log/MessageLog.cpp 2011-02-17 20:28:26 UTC (rev 4519) +++ vidalia/trunk/src/vidalia/log/MessageLog.cpp 2011-02-23 12:20:10 UTC (rev 4520) @@ -454,6 +454,7 @@ void MessageLog::log(tc::Severity type, const QString &message) { + setUpdatesEnabled(false); /* Only add the message if it's not being filtered out */ if (_filter & (uint)type) { /* Add the message to the list and scroll to it if necessary. */ @@ -472,6 +473,7 @@ _logFile << item->toString() << "\n"; } } + setUpdatesEnabled(true); }
/** Displays help information about the message log. */
tor-commits@lists.torproject.org