Merge pull request #251 from Razzeee/fix-window-state
Improved window state handling
This commit is contained in:
@@ -117,10 +117,16 @@ notification.override({
|
||||
if (currentWindow.isVisible()) {
|
||||
currentWindow.focus();
|
||||
}
|
||||
else if (currentWindow.isMinimized()) {
|
||||
currentWindow.restore();
|
||||
}
|
||||
else {
|
||||
currentWindow.show();
|
||||
}
|
||||
}
|
||||
else if (currentWindow.isMinimized()) {
|
||||
currentWindow.restore();
|
||||
}
|
||||
else {
|
||||
currentWindow.show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user