Skip to content

Commit c754ca1

Browse files
authored
Merge pull request #1491 from vandabbin/preset-change-update-clock
2 parents 5b44daa + 7b41990 commit c754ca1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/btop_input.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ namespace Input {
255255
}
256256
Config::current_preset = -1;
257257
Draw::calcSizes();
258+
Draw::update_clock(true);
258259
Runner::run("all", false, true);
259260
return;
260261
}
@@ -273,6 +274,7 @@ namespace Input {
273274
return;
274275
}
275276
Draw::calcSizes();
277+
Draw::update_clock(true);
276278
Runner::run("all", false, true);
277279
return;
278280
} else if (is_in(key, "ctrl_r")) {

0 commit comments

Comments
 (0)