Browse Source

Not updated position if it's an external window tab

pull/2102/head
mxb 6 years ago
parent
commit
6f73b8e1e7
  1. 2
      app/view/main/MainController.js

2
app/view/main/MainController.js

@ -61,7 +61,7 @@ Ext.define('Rambox.view.main.MainController', {
var align = 'left';
store.suspendEvent('remove');
Ext.each(tabPanel.items.items, function(t, i) {
if ( t.id !== 'ramboxTab' && t.id !== 'tbfill' && t.record.get('enabled') ) {
if ( t.id !== 'ramboxTab' && t.id !== 'tbfill' && t.record.get('enabled') && !t.isExternal ) {
var rec = store.getById(t.record.get('id'));
if ( align === 'right' ) i--;
rec.set('align', align);

Loading…
Cancel
Save