Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing showing window if minimized

Ilian Sapundshiev0971ccc40c76
diff --git a/app/services/electron-io.js b/app/services/electron-io.js
index f97663f20..f0f3e5841 100644
--- a/app/services/electron-io.js
+++ b/app/services/electron-io.js
@@ -115,6 +115,9 @@ export default class ElectronIO {
};
showMainWindow = (): void => {
+ if (this.win.isMinimized()) {
+ this.win.restore();
+ }
this.win.show();
};