diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7133f09e..59af4d42 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1319,7 +1319,8 @@ void MainWindow::setEncoding(QAction *qa) QString currentCodec = qa->text().toLatin1(); currentCodec = currentCodec.remove('&'); kDebug() << "Setting codec: " << currentCodec; - currentTab()->page()->settings()->setDefaultTextEncoding(currentCodec); + currentTab()->view()->settings()->setDefaultTextEncoding(currentCodec); + currentTab()->view()->reload(); } |