fix crash when starting in non-dualpane mode

This commit is contained in:
Eric House 2017-01-31 21:04:17 -08:00
parent b874d25563
commit ca4b3fd454

View file

@ -96,8 +96,10 @@ public class MainActivity extends XWActivity
{
setSafeToRun();
super.onPostResume();
if ( m_dpEnabled ) {
setVisiblePanes();
}
}
// called when we're brought to the front (probably as a result of
// notification)