aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-07-08 16:06:25 +0100
committerAlex-TIMEHACK <[email protected]>2017-07-08 16:06:25 +0100
commit9ba0f0837636f98fac91b99a9c2b2ab35b20f113 (patch)
tree8e0de7aac586c1829b45090eb1826b80aa8d0799
parenta52f16bf447268d26ea30228a5560435381b6e0b (diff)
downloadhistacom2-9ba0f0837636f98fac91b99a9c2b2ab35b20f113.tar.gz
histacom2-9ba0f0837636f98fac91b99a9c2b2ab35b20f113.tar.bz2
histacom2-9ba0f0837636f98fac91b99a9c2b2ab35b20f113.zip
Fixed taskbar showing bug
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 32d619f..f60273d 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -105,10 +105,7 @@ namespace TimeHACK.OS.Win95
this.SendToBack();
// Update the taskbar
- UpdateTaskbar();
-
- // Bring to this the front
- this.BringToFront();
+ UpdateTaskbar();
//Check if it is the first time
if (CurrentSave.FTime95 == false)
@@ -123,9 +120,13 @@ namespace TimeHACK.OS.Win95
nonimportantapps[nonimportantapps.Count - 1].BringToFront();
nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+ // Bring to this the front
+ this.BringToFront();
+
app.BringToFront();
}
+
}
private void fontLoad()