diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2014-10-31 16:07:56 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2014-10-31 16:07:56 +0100 |
commit | f1aba45a99420eacccc97cb957d948e977a0ac67 (patch) | |
tree | 3fa64aa431736973be1bf55366e8addae8261298 /src/tag_editor.cpp | |
parent | b265d56cdf18fb805fc9d22b43b88147519709d5 (diff) |
window: rename getString to prompt
Diffstat (limited to 'src/tag_editor.cpp')
-rw-r--r-- | src/tag_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp index 1a5a424b..79e0453a 100644 --- a/src/tag_editor.cpp +++ b/src/tag_editor.cpp @@ -360,7 +360,7 @@ void TagEditor::enterPressed() { Statusbar::ScopedLock lock; Statusbar::put() << "Pattern: "; - new_pattern = wFooter->getString(Config.pattern); + new_pattern = wFooter->prompt(Config.pattern); } Config.pattern = new_pattern; FParser->at(0).value() = "Pattern: "; @@ -494,7 +494,7 @@ void TagEditor::enterPressed() { Statusbar::ScopedLock lock; Statusbar::put() << NC::Format::Bold << TagTypes->current().value() << NC::Format::NoBold << ": "; - std::string new_tag = wFooter->getString(Tags->current().value().getTags(get, Config.tags_separator)); + std::string new_tag = wFooter->prompt(Tags->current().value().getTags(get, Config.tags_separator)); for (auto it = EditedSongs.begin(); it != EditedSongs.end(); ++it) (*it)->setTags(set, new_tag, Config.tags_separator); } @@ -502,7 +502,7 @@ void TagEditor::enterPressed() { Statusbar::ScopedLock lock; Statusbar::put() << NC::Format::Bold << TagTypes->current().value() << NC::Format::NoBold << ": "; - std::string new_tag = wFooter->getString(Tags->current().value().getTags(get, Config.tags_separator)); + std::string new_tag = wFooter->prompt(Tags->current().value().getTags(get, Config.tags_separator)); if (new_tag != Tags->current().value().getTags(get, Config.tags_separator)) Tags->current().value().setTags(set, new_tag, Config.tags_separator); Tags->scroll(NC::Scroll::Down); @@ -526,7 +526,7 @@ void TagEditor::enterPressed() std::string extension = old_name.substr(last_dot); old_name = old_name.substr(0, last_dot); Statusbar::put() << NC::Format::Bold << "New filename: " << NC::Format::NoBold; - std::string new_name = wFooter->getString(old_name); + std::string new_name = wFooter->prompt(old_name); if (!new_name.empty()) s.setNewName(new_name + extension); Tags->scroll(NC::Scroll::Down); |