mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix #74
This commit is contained in:
parent
bacaca1a0b
commit
130996f593
@ -1533,6 +1533,7 @@ void DisassemblerGraphView::loadCurrentGraph()
|
|||||||
Function f;
|
Function f;
|
||||||
f.ready = true;
|
f.ready = true;
|
||||||
f.entry = func["offset"].toInt();
|
f.entry = func["offset"].toInt();
|
||||||
|
this->parentWidget()->setWindowTitle(func["name"].toString());
|
||||||
f.update_id = anal.update_id;
|
f.update_id = anal.update_id;
|
||||||
|
|
||||||
for (QJsonValueRef blockRef : func["blocks"].toArray()) {
|
for (QJsonValueRef blockRef : func["blocks"].toArray()) {
|
||||||
@ -1820,7 +1821,7 @@ void DisassemblerGraphView::colorsUpdatedSlot()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
fontChanged();
|
fontChanged();
|
||||||
loadCurrentGraph();
|
refreshView();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisassemblerGraphView::fontsUpdatedSlot()
|
void DisassemblerGraphView::fontsUpdatedSlot()
|
||||||
|
@ -275,7 +275,6 @@ bool FunctionSortFilterProxyModel::filterAcceptsRow(int row, const QModelIndex &
|
|||||||
return function.name.contains(filterRegExp());
|
return function.name.contains(filterRegExp());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool FunctionSortFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
|
bool FunctionSortFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
|
||||||
{
|
{
|
||||||
if (!left.isValid() || !right.isValid())
|
if (!left.isValid() || !right.isValid())
|
||||||
@ -320,11 +319,6 @@ bool FunctionSortFilterProxyModel::lessThan(const QModelIndex &left, const QMode
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FunctionsWidget::FunctionsWidget(MainWindow *main, QWidget *parent) :
|
FunctionsWidget::FunctionsWidget(MainWindow *main, QWidget *parent) :
|
||||||
QDockWidget(parent),
|
QDockWidget(parent),
|
||||||
ui(new Ui::FunctionsWidget),
|
ui(new Ui::FunctionsWidget),
|
||||||
|
Loading…
Reference in New Issue
Block a user