Bug #502 » undofix.diff
libyzis/buffer.cpp Sat Jan 10 20:18:13 2009 +0100 → libyzis/buffer.cpp Tue Jan 13 03:40:52 2009 +0100 | ||
---|---|---|
550 | 550 | |
551 | 551 |
//stop redraws |
552 | 552 |
d->enableUpdateView = false; |
553 |
d->isLoading = true; |
|
553 | 554 | |
554 | 555 |
clearText(); |
555 | 556 | |
... | ... | |
562 | 563 | |
563 | 564 |
//opens and eventually create the file |
564 | 565 |
d->undoBuffer->setInsideUndo( true ); |
565 |
d->isLoading = true; |
|
566 | 566 |
d->currentEncoding = getLocalStringOption( "encoding" ); |
567 | 567 |
if ( QFile::exists(d->path) && fl.open( QIODevice::ReadOnly ) ) { |
568 | 568 |
QTextCodec* codec; |