This is my code fo
void CallhistoryWindow::on_button_buffer1()
{
m_TextView.set_buffer(m_refTextBuffer1);
}
void CallhistoryWindow::on_button_buffer2()
{
m_TextView.set_buffer(m_refTextBuffer2);
}
if I already call the on_button_buffer1() function the m_TextView is already set the buffer m_refTextBuffer1. But if I already change the m_refTextBuffer1(the textfile) value the m_TextView wont change anymore you may need to close the widget to get updated. All I need is to if you change the value of m_refTextBuffer1(the textfile) the m_TextView will update also. Please help me on this... thanks!