Nux

Merge lp:~3v1n0/nux/view-enable-logic-fix into lp:nux/2.0

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Jay Taoko
Approved revision: 581
Merged at revision: 581
Proposed branch: lp:~3v1n0/nux/view-enable-logic-fix
Merge into: lp:nux/2.0
Diff against target: 23 lines (+5/-5)
1 file modified
Nux/View.cpp (+5/-5)
To merge this branch: bzr merge lp:~3v1n0/nux/view-enable-logic-fix
Reviewer Review Type Date Requested Status
Jay Taoko (community) Approve
Review via email: mp+94222@code.launchpad.net

Description of the change

The view disable/enable logic is inverted.

Fixing it.

To post a comment you must log in.
Revision history for this message
Jay Taoko (jaytaoko) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Nux/View.cpp'
2--- Nux/View.cpp 2012-02-09 05:57:20 +0000
3+++ Nux/View.cpp 2012-02-22 16:54:37 +0000
4@@ -385,14 +385,14 @@
5
6 void View::EnableView()
7 {
8+ view_enabled_ = true;
9+ }
10+
11+ void View::DisableView()
12+ {
13 view_enabled_ = false;
14 }
15
16- void View::DisableView()
17- {
18- view_enabled_ = true;
19- }
20-
21 void View::SetEnableView(bool enable)
22 {
23 if (enable)

Subscribers

People subscribed via source and target branches