浏览代码

Small changes

Kandrashin Denis 12 年之前
父节点
当前提交
29ad1304a2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/fb2main.cpp

+ 1 - 0
source/fb2main.cpp

@@ -110,6 +110,7 @@ void FbMainWindow::fileOpen()
 
     if (isUntitled && !isWindowModified()) {
         mainDock->load(filename);
+        setCurrentFile(filename);
     } else {
         FbMainWindow * other = new FbMainWindow(filename, FB2);
         other->mainDock->load(filename);