diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 07:21:51 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 07:21:51 +0100 |
commit | 3706123e776c95f0e9fe088678eb9885ce0eb881 (patch) | |
tree | 7b5cef8e6b05d71a82c121c56bb8beaf6541d604 /editor/tests.cpp | |
parent | d7aed04bf715861ac237a7947c624d270726c878 (diff) |
b
Diffstat (limited to 'editor/tests.cpp')
-rw-r--r-- | editor/tests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/tests.cpp b/editor/tests.cpp index 2d9215a5..c5deacae 100644 --- a/editor/tests.cpp +++ b/editor/tests.cpp @@ -95,7 +95,9 @@ tests_data& app::tests() void app::tests_reset_mode() { + auto mode = tests().current_index; tests().switch_to(Test::none); + tests().switch_to(mode); } void app::draw_tests_pane(float width) |