diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-05-14 02:06:05 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-05-14 02:06:05 +0200 |
| commit | 1da05836c675bf1c3a1957d51b5bf1433baa6a6b (patch) | |
| tree | 4af7d9f295fd38c94691ba7605b2a6c6993b1d04 /shortcuts | |
| parent | 80bf11856f931cd64d101ddc7517263fd1f1d244 (diff) | |
ShortcutController: always fill the model before setting it
(bzr r3794.8.2)
Diffstat (limited to 'shortcuts')
| -rw-r--r-- | shortcuts/ShortcutController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shortcuts/ShortcutController.cpp b/shortcuts/ShortcutController.cpp index ba7be8830..4101090e8 100644 --- a/shortcuts/ShortcutController.cpp +++ b/shortcuts/ShortcutController.cpp @@ -70,11 +70,11 @@ void Controller::OnModelUpdated(Model::Ptr const& model) if (!view_) return; + model->Fill(); view_->SetModel(model); if (Visible()) { - model->Fill(); auto const& offset = GetOffsetPerMonitor(view_->monitor()); if (offset.x < 0 || offset.y < 0) |
