summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-11-30 21:30:40 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-11-30 21:30:40 (GMT)
commit75692592e49da1af2b1c8857298ca7085cd5b3d5 (patch)
tree33e5ee1aae1b9eb4514d735f00281a21f17325a0 /src/mainwin.cc
parentfd715c6526e961cb7f3d6ba6a0563788d7d1674d (diff)
parentf175bae46a8f15823780c5a9c89b11476acb3107 (diff)
Merge branch 'master' into issue410x
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 5b986b1..1ad8bc8 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -504,6 +504,7 @@ MainWindow::openFile(const QString &new_filename)
}
#endif
setFileName(actual_filename);
+ editor->setPlainText("");
fileChangedOnDisk(); // force cached autoReloadId to update
refreshDocument();
contact: Jan Huwald // Impressum