mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 12:26:11 +00:00
SDB Browser (Fix #120)
This commit is contained in:
parent
5b21f970ac
commit
4f1007a0cb
@ -16,6 +16,7 @@ SdbDock::SdbDock(QWidget *parent) :
|
||||
path = "";
|
||||
|
||||
connect(Core(), SIGNAL(refreshAll()), this, SLOT(reload()));
|
||||
reload(nullptr);
|
||||
}
|
||||
|
||||
void SdbDock::reload(QString _path)
|
||||
@ -90,10 +91,6 @@ void SdbDock::on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column)
|
||||
// enter directory
|
||||
reload(newpath);
|
||||
}
|
||||
else
|
||||
{
|
||||
//__alert ("TODO: change value");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -115,8 +112,5 @@ void SdbDock::on_lockButton_clicked()
|
||||
|
||||
void SdbDock::on_treeWidget_itemChanged(QTreeWidgetItem *item, int column)
|
||||
{
|
||||
__alert(item->text(column));
|
||||
// El nuevo valor esta en:
|
||||
// item->text(column)
|
||||
// ya sabras tu que hacer con el :P
|
||||
Core()->sdbSet(path, item->text(0), item->text(column));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user