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