Mercurial > hg > octave-nkf
changeset 15650:ba360324035e
Fixed bug with redrawing the terminal when widget is being shown.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 30 Jan 2012 02:18:59 +0100 |
parents | c22fa57226b2 |
children | 845cebf281aa |
files | libqterminal/QTerminal.cpp libqterminal/QTerminal.h |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libqterminal/QTerminal.cpp +++ b/libqterminal/QTerminal.cpp @@ -137,6 +137,13 @@ m_sessionView->update(); } +void QTerminal::showEvent(QShowEvent *) +{ + m_sessionView->updateImage(); + m_sessionView->repaint(); + m_sessionView->update(); +} + void QTerminal::resizeEvent(QResizeEvent*) { m_sessionView->resize(this->size());