mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 19:38:18 +00:00
* src/BranchList.cpp:
- fix crash when theApp() didn't exist (command line export of document with branches) [bug 4255] git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20841 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
891457c962
commit
6887b5a328
@ -24,7 +24,9 @@ namespace lyx {
|
||||
|
||||
Branch::Branch() : selected_(false)
|
||||
{
|
||||
theApp()->getRgbColor(Color::background, color_);
|
||||
// no theApp() with command line export
|
||||
if (theApp())
|
||||
theApp()->getRgbColor(Color::background, color_);
|
||||
}
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ What's new
|
||||
|
||||
* DOCUMENT INPUT/OUTPUT
|
||||
|
||||
|
||||
- Fix a crash when exporting a file with a branch from the command line (bug 4255).
|
||||
|
||||
* USER INTERFACE:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user