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()) {
     if (isUntitled && !isWindowModified()) {
         mainDock->load(filename);
         mainDock->load(filename);
+        setCurrentFile(filename);
     } else {
     } else {
         FbMainWindow * other = new FbMainWindow(filename, FB2);
         FbMainWindow * other = new FbMainWindow(filename, FB2);
         other->mainDock->load(filename);
         other->mainDock->load(filename);