Avoid setting mark if switching to the same view
parent
2ec109e246
commit
a09df5f697
2
ui.c
2
ui.c
|
@ -210,8 +210,8 @@ static void uiRedraw(void) {
|
||||||
static void uiView(struct View *view) {
|
static void uiView(struct View *view) {
|
||||||
if (view->topic) touchwin(view->topic);
|
if (view->topic) touchwin(view->topic);
|
||||||
touchwin(view->log);
|
touchwin(view->log);
|
||||||
view->mark = false;
|
|
||||||
ui.view->mark = true;
|
ui.view->mark = true;
|
||||||
|
view->mark = false;
|
||||||
ui.view = view;
|
ui.view = view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue