~elementary-apps/pantheon-files/trunk

« back to all changes in this revision

Viewing changes to src/View/Miller.vala

  • Committer: Jeremy Wootten
  • Date: 2017-01-13 13:36:33 UTC
  • mfrom: (2444 pantheon-files)
  • mto: This revision was merged to the branch mainline in revision 2471.
  • Revision ID: jeremy@elementaryos.org-20170113133633-ajg6izr1e6irmj0g
Merge r2444

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
                schedule_scroll_to_slot (slot, animate);
304
304
            }
305
305
 
306
 
            if (this.current_slot == slot)
307
 
                return;
308
 
 
309
 
            slot_list.@foreach ((s) => {
310
 
                if (s != slot)
311
 
                    s.inactive ();
312
 
            });
313
 
 
314
 
            current_slot = slot;
 
306
            if (this.current_slot != slot) {
 
307
                slot_list.@foreach ((s) => {
 
308
                    if (s != slot)
 
309
                        s.inactive ();
 
310
                });
 
311
 
 
312
                current_slot = slot;
 
313
            }
 
314
            /* Always emit this signal so that UI updates (e.g. pathbar) */
315
315
            active ();
316
316
        }
317
317