summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-05 22:35:47 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-05 22:35:47 +0200
commit72e6e0401677740a286ab937194c61db1448e4c9 (patch)
treec39de5f7b2fbfbcf02bb4c9c514fefde4cd2a07b /plugingui/filebrowser.cc
parent33639dddd8b1b01739994b7427d70ffc676cb22d (diff)
Refactor TextEdit widget.
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r--plugingui/filebrowser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index 76a2744..62f7775 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -158,7 +158,7 @@ void FileBrowser::handleKeyEvent()
{
listbox.clearSelectedValue();
- std::string value = lineedit.text();
+ std::string value = lineedit.getText();
if((value.size() > 1) && (value[0] == '@'))
{
DEBUG(filebrowser, "Selecting ref-file '%s'\n", value.c_str());
@@ -166,7 +166,7 @@ void FileBrowser::handleKeyEvent()
return;
}
- dir.setPath(lineedit.text());
+ dir.setPath(lineedit.getText());
changeDir();
}