IDEMPIERE-2389 Print format and Report type selection on process dialog / fix problem reported by Vassili Kouleshov at https://groups.google.com/d/msg/idempiere/qFJ0FeDiZJo/7V77mXEkAgAJ

This commit is contained in:
Carlos Ruiz 2018-12-23 16:08:52 +01:00
parent ec8c384c5f
commit b74ed53357
1 changed files with 1 additions and 0 deletions

View File

@ -1278,6 +1278,7 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
// Get Language from previous - thanks Gunther Hoppe
if (m_reportEngine.getPrintFormat() != null)
{
setLanguage();
pf.setLanguage(m_reportEngine.getPrintFormat().getLanguage()); // needs to be re-set - otherwise viewer will be blank
pf.setTranslationLanguage(m_reportEngine.getPrintFormat().getLanguage());
}