Skip to content

Commit

Permalink
Merge pull request #444 from ra3xdh/saveas_fix
Browse files Browse the repository at this point in the history
Fixed not uppdating of the recent files list when SaveAs is invoked
  • Loading branch information
guitorri committed Feb 7, 2016
2 parents 6eb4fae + 35e5513 commit 660f94e
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 660f94e

Please sign in to comment.