[API] update new signal interface

This commit is contained in:
2014-10-29 21:16:56 +01:00
parent bd9e5f03f4
commit 7340844d12
7 changed files with 19 additions and 19 deletions

View File

@@ -90,7 +90,7 @@ void appl::TextViewer::onCallbackShortCut(const std::string& _value) {
void appl::TextViewer::onCallbackselectNewFile(const std::string& _value) {
// reset scroll:
if (m_buffer != nullptr) {
m_buffer->unBindAll(shared_from_this());
m_buffer->signalUnBindAll(shared_from_this());
bool needAdd = true;
auto it = m_drawingRemenber.begin();
while (it != m_drawingRemenber.end()) {