|
@@ -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);
|