This commit is contained in:
xarkes 2017-11-21 15:33:15 +01:00
parent bacaca1a0b
commit 130996f593
2 changed files with 2 additions and 7 deletions

View File

@ -1533,6 +1533,7 @@ void DisassemblerGraphView::loadCurrentGraph()
Function f;
f.ready = true;
f.entry = func["offset"].toInt();
this->parentWidget()->setWindowTitle(func["name"].toString());
f.update_id = anal.update_id;
for (QJsonValueRef blockRef : func["blocks"].toArray()) {
@ -1820,7 +1821,7 @@ void DisassemblerGraphView::colorsUpdatedSlot()
*/
fontChanged();
loadCurrentGraph();
refreshView();
}
void DisassemblerGraphView::fontsUpdatedSlot()

View File

@ -275,7 +275,6 @@ bool FunctionSortFilterProxyModel::filterAcceptsRow(int row, const QModelIndex &
return function.name.contains(filterRegExp());
}
bool FunctionSortFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
{
if (!left.isValid() || !right.isValid())
@ -320,11 +319,6 @@ bool FunctionSortFilterProxyModel::lessThan(const QModelIndex &left, const QMode
}
}
FunctionsWidget::FunctionsWidget(MainWindow *main, QWidget *parent) :
QDockWidget(parent),
ui(new Ui::FunctionsWidget),