Commit 15412127 authored by hjk's avatar hjk
Browse files

add to watchwindow was missing an update.

parent 540c6de1
...@@ -1033,7 +1033,6 @@ void DebuggerManager::addToWatchWindow() ...@@ -1033,7 +1033,6 @@ void DebuggerManager::addToWatchWindow()
void DebuggerManager::watchExpression(const QString &expression) void DebuggerManager::watchExpression(const QString &expression)
{ {
watchHandler()->watchExpression(expression); watchHandler()->watchExpression(expression);
//engine()->updateWatchModel();
} }
void DebuggerManager::setBreakpoint(const QString &fileName, int lineNumber) void DebuggerManager::setBreakpoint(const QString &fileName, int lineNumber)
......
...@@ -877,9 +877,9 @@ void WatchHandler::watchExpression(const QString &exp) ...@@ -877,9 +877,9 @@ void WatchHandler::watchExpression(const QString &exp)
data.name = exp; data.name = exp;
data.iname = "watch." + exp; data.iname = "watch." + exp;
insertData(data); insertData(data);
emit watchModelUpdateRequested();
} }
void WatchHandler::setDisplayedIName(const QString &iname, bool on) void WatchHandler::setDisplayedIName(const QString &iname, bool on)
{ {
WatchData *d = findData(iname); WatchData *d = findData(iname);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment