From 4f1007a0cbd9c9c7b7a83408fb475d8e7066fe07 Mon Sep 17 00:00:00 2001 From: xarkes Date: Sun, 3 Dec 2017 02:51:51 +0100 Subject: [PATCH] SDB Browser (Fix #120) --- src/widgets/SdbDock.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/widgets/SdbDock.cpp b/src/widgets/SdbDock.cpp index 6793c747..d1e441de 100644 --- a/src/widgets/SdbDock.cpp +++ b/src/widgets/SdbDock.cpp @@ -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)); }