forked from qt-creator/qt-creator
add to watchwindow was missing an update.
This commit is contained in:
@@ -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)
|
|||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user