Berhard's tab patch: immediatly show saved filename

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16936 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-01-29 20:04:10 +00:00
parent f1dedb3351
commit 40bced2e30

View File

@ -880,8 +880,10 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
lyx_view_->message(str);
menuWrite(lyx_view_->buffer());
lyx_view_->message(str + _(" done."));
} else
} else {
writeAs(lyx_view_->buffer());
lyx_view_->updateTab();
}
updateFlags = Update::None;
break;
@ -889,6 +891,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
BOOST_ASSERT(lyx_view_ && lyx_view_->buffer());
writeAs(lyx_view_->buffer(), argument);
updateFlags = Update::None;
lyx_view_->updateTab();
break;
case LFUN_BUFFER_RELOAD: {