-                           && !lyxaction.funcHasFlag(cmd.action, 
LyXAction::NoBuffer)
-                           && !lyxaction.funcHasFlag(cmd.action, 
LyXAction::ReadOnly))
+                           && !lyxaction.funcHasFlag(action, 
LyXAction::NoBuffer)
+                           && !lyxaction.funcHasFlag(action, 
LyXAction::ReadOnly))

But what is this for?


Sorry, that was not thought for this patch. This is for another problem i described in a mail from Jan 25, with subject "crash after saving new buffer and change to another new buffer"

Regarding the tab update problem:

Technically it would be better, i think, if we could move lyx_view_->updateTab()
into the function writeAs(...). Is the LyXView accessible from the
Buffer to manage this?

Bernhard

Reply via email to