Explorar o código

Merge pull request #3426 from BDisp/v1_wizards-refresh-fix_3423

Fixes #3423. v1 - Wizards scenario doesn't refresh after opened by mouse.
Tig hai 1 ano
pai
achega
f8c0caa0f6
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      Terminal.Gui/Core/Application.cs

+ 1 - 3
Terminal.Gui/Core/Application.cs

@@ -1040,9 +1040,7 @@ namespace Terminal.Gui {
 			if (refreshDriver) {
 				MdiTop?.OnChildLoaded (toplevel);
 				toplevel.OnLoaded ();
-				Redraw (toplevel);
-				toplevel.PositionCursor ();
-				Driver.Refresh ();
+				Refresh ();
 			}
 
 			NotifyNewRunState?.Invoke (rs);