Skip to content

Commit

Permalink
revert: close button closes main window, minimize button hides it
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyAdapter committed Dec 25, 2019
1 parent a425029 commit 98a51cb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/renderer/components/PageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<v-btn icon class="manipulate-button" @click="minimizeWindow">
<v-icon>mdi-window-minimize</v-icon>
</v-btn>
<v-btn icon class="manipulate-button" @click="hideWindow">
<v-btn icon class="manipulate-button" @click="closeWindow">
<v-icon>mdi-window-close</v-icon>
</v-btn>
</v-app-bar>
Expand All @@ -31,9 +31,6 @@ export default class PageContent extends Vue {
@Prop(String) public title!: string
public minimizeWindow () {
remote.getCurrentWindow().minimize()
}
public hideWindow () {
remote.getCurrentWindow().hide()
}
public closeWindow () {
Expand Down

0 comments on commit 98a51cb

Please sign in to comment.