[API] update new signal interface
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user