Fix BPrintJob to not screw up user-made job settings with the global defaults.... StyledEdit prints again :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23506 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
269fdeefff
commit
e7fe0f67d1
@ -797,9 +797,11 @@ BPrintJob::_LoadDefaultSettings()
|
||||
BMessage *reply = new BMessage;
|
||||
|
||||
printServer.SendMessage(&message, reply);
|
||||
|
||||
_HandlePrintSetup(reply);
|
||||
|
||||
|
||||
// Only override our settings if we don't have any settings yet
|
||||
if (fSetupMessage == NULL)
|
||||
_HandlePrintSetup(reply);
|
||||
|
||||
delete fDefaultSetupMessage;
|
||||
fDefaultSetupMessage = reply;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user