mirror of
https://github.com/rizinorg/cutter.git
synced 2025-03-06 04:17:16 +00:00
Fix seek for double clicking reloc item
This commit is contained in:
parent
a22b97a53b
commit
24256f239d
@ -100,7 +100,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
backButton->setIcon(QIcon(":/new/prefix1/img/icons/arrow_left.png"));
|
||||
//backButton->setPopupMode(QToolButton::DelayedPopup);
|
||||
ui->mainToolBar->insertWidget(ui->actionForward, backButton);
|
||||
//connect(backButton, SIGNAL(clicked()), this, SLOT(on_backButton_clicked()));
|
||||
connect(backButton, SIGNAL(clicked()), this, SLOT(on_backButton_clicked()));
|
||||
|
||||
// Sepparator between undo/redo and goto lineEdit
|
||||
QWidget* spacer3 = new QWidget();
|
||||
|
@ -23,8 +23,8 @@ void RelocsWidget::on_relocsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item,
|
||||
{
|
||||
// Get offset and name of item double clicked
|
||||
// TODO: use this info to change disasm contents
|
||||
QString offset = item->text(0);
|
||||
QString name = item->text(1);
|
||||
QString offset = item->text(1);
|
||||
QString name = item->text(2);
|
||||
main->seek(offset, name);
|
||||
this->main->memoryDock->raise();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user