fix compile warning
This commit is contained in:
parent
de3d5be8f0
commit
0b8a93eed5
@ -118,7 +118,7 @@ void LineEditor::clearHistory()
|
||||
void LineEditor::autocomplete()
|
||||
{
|
||||
QString line = text();
|
||||
const std::list<std::string> &suggestions = pyinterpreter_suggest(line.toStdString());
|
||||
const std::list<std::string> suggestions = pyinterpreter_suggest(line.toStdString());
|
||||
if (suggestions.size() == 1) {
|
||||
line = suggestions.back().c_str();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user