Fix cursor initialization in pcedit. fix #118

This commit is contained in:
2025-05-27 09:44:22 -05:00
parent 6855fed3e7
commit 910e4d1031
2 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
#include "dialogxml/widgets/led.hpp"
#include "dialogxml/widgets/message.hpp"
#include "mathutil.hpp"
#include "tools/cursors.hpp"
#ifndef MSBUILD_GITREV
#include "tools/gitrev.hpp"
#endif
@@ -209,6 +210,7 @@ void redraw_screen() {
drawMenuBar();
mainPtr().display();
restore_cursor();
}
static void frame_dlog_rect(sf::RenderWindow& target, rectangle rect) {

View File

@@ -139,6 +139,7 @@ int main(int argc, char* argv[]) {
cDialog::init();
redraw_screen();
menu_activate();
set_cursor(sword_curs);
handle_events();