Skip to content

Commit

Permalink
Fixed not uppdating the recent files list when SaveAs is invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Feb 5, 2016
1 parent 83cc216 commit 35e5513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qucs/qucs/qucs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1560,13 +1560,13 @@ bool QucsApp::saveAs()
Doc->setName(s);
DocumentTab->setTabText(DocumentTab->indexOf(w), misc::properFileName(s));
lastDirOpenSave = Info.absolutePath(); // remember last directory and file
updateRecentFilesList(s);

n = Doc->save(); // SAVE
if(n < 0) return false;

updatePortNumber(Doc, n);
slotUpdateTreeview();
updateRecentFilesList(s);
return true;
}

Expand Down

0 comments on commit 35e5513

Please sign in to comment.